Spaces:
Running on Zero
Running on Zero
Move Citrus theme to launch() (Gradio 6)
Browse files
app.py
CHANGED
|
@@ -78,7 +78,7 @@ EXAMPLES = [
|
|
| 78 |
"A bowl of ramen with steam rising, photorealistic, top-down view.",
|
| 79 |
]
|
| 80 |
|
| 81 |
-
with gr.Blocks(
|
| 82 |
gr.Markdown(
|
| 83 |
"""
|
| 84 |
# 🍊 MiniT2I
|
|
@@ -120,4 +120,4 @@ with gr.Blocks(theme=gr.themes.Citrus()) as demo:
|
|
| 120 |
run_btn.click(generate, inputs=inputs, outputs=[output, seed])
|
| 121 |
prompt.submit(generate, inputs=inputs, outputs=[output, seed])
|
| 122 |
|
| 123 |
-
demo.launch()
|
|
|
|
| 78 |
"A bowl of ramen with steam rising, photorealistic, top-down view.",
|
| 79 |
]
|
| 80 |
|
| 81 |
+
with gr.Blocks() as demo:
|
| 82 |
gr.Markdown(
|
| 83 |
"""
|
| 84 |
# 🍊 MiniT2I
|
|
|
|
| 120 |
run_btn.click(generate, inputs=inputs, outputs=[output, seed])
|
| 121 |
prompt.submit(generate, inputs=inputs, outputs=[output, seed])
|
| 122 |
|
| 123 |
+
demo.launch(theme=gr.themes.Citrus())
|