Spaces:
Runtime error
Runtime error
read
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title: Flash SD3
|
| 3 |
emoji: ⚡
|
| 4 |
colorFrom: green
|
| 5 |
colorTo: blue
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Flash SD3 + TAESD3
|
| 3 |
emoji: ⚡
|
| 4 |
colorFrom: green
|
| 5 |
colorTo: blue
|
app.py
CHANGED
|
@@ -109,11 +109,6 @@ css = """
|
|
| 109 |
}
|
| 110 |
"""
|
| 111 |
|
| 112 |
-
if torch.cuda.is_available():
|
| 113 |
-
power_device = "GPU"
|
| 114 |
-
else:
|
| 115 |
-
power_device = "CPU"
|
| 116 |
-
|
| 117 |
with gr.Blocks(css=css) as demo:
|
| 118 |
with gr.Column(elem_id="col-container"):
|
| 119 |
gr.Markdown(
|
|
@@ -122,12 +117,6 @@ with gr.Blocks(css=css) as demo:
|
|
| 122 |
[Flash Diffusion](https://gojasper.github.io/flash-diffusion-project/) with [Tiny AutoEncoder for Stable Diffusion 3](https://huggingface.co/madebyollin/taesd3)
|
| 123 |
"""
|
| 124 |
)
|
| 125 |
-
gr.Markdown(
|
| 126 |
-
"If you enjoy the space, please also promote *open-source* by giving a ⭐ to the <a href='https://github.com/gojasper/flash-diffusion' target='_blank'>Github Repo</a>. [](https://github.com/gojasper/flash-diffusion)"
|
| 127 |
-
)
|
| 128 |
-
gr.Markdown(
|
| 129 |
-
"💡 *Hint:* To better appreciate the low latency of our method, run the demo locally !"
|
| 130 |
-
)
|
| 131 |
|
| 132 |
with gr.Row():
|
| 133 |
prompt = gr.Text(
|
|
|
|
| 109 |
}
|
| 110 |
"""
|
| 111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
with gr.Blocks(css=css) as demo:
|
| 113 |
with gr.Column(elem_id="col-container"):
|
| 114 |
gr.Markdown(
|
|
|
|
| 117 |
[Flash Diffusion](https://gojasper.github.io/flash-diffusion-project/) with [Tiny AutoEncoder for Stable Diffusion 3](https://huggingface.co/madebyollin/taesd3)
|
| 118 |
"""
|
| 119 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
|
| 121 |
with gr.Row():
|
| 122 |
prompt = gr.Text(
|