Update app.py
Browse files
app.py
CHANGED
|
@@ -13,13 +13,14 @@ def flip_image(x):
|
|
| 13 |
with gr.Blocks() as pan:
|
| 14 |
gr.Markdown("Flip text or image files using this demo.")
|
| 15 |
|
|
|
|
|
|
|
| 16 |
with gr.Tab("Flip Text"):
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
Your_input = gr.TextArea()
|
| 21 |
-
|
| 22 |
-
run = gr.Button("Generate Images")
|
| 23 |
|
| 24 |
with gr.Tab("Flip Image"):
|
| 25 |
with gr.Row():
|
|
|
|
| 13 |
with gr.Blocks() as pan:
|
| 14 |
gr.Markdown("Flip text or image files using this demo.")
|
| 15 |
|
| 16 |
+
run = gr.Button("Generate Images")
|
| 17 |
+
|
| 18 |
with gr.Tab("Flip Text"):
|
| 19 |
+
gr.Interface.load("stabilityai/stable-diffusion-2-1")
|
| 20 |
+
##model = ("stabilityai/stable-diffusion-2-1")
|
| 21 |
+
# gr.Dropdown(choices=["First Choice", "Second Choice", "Third Choice"])
|
| 22 |
Your_input = gr.TextArea()
|
| 23 |
+
output = gr.Image(label="")
|
|
|
|
| 24 |
|
| 25 |
with gr.Tab("Flip Image"):
|
| 26 |
with gr.Row():
|