Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -105,16 +105,10 @@ with playground:
|
|
105 |
with gr.Column():
|
106 |
img = gr.Image(type='pil')
|
107 |
with gr.Column():
|
108 |
-
|
109 |
-
|
110 |
-
generated_textbox = gr.Textbox(lines=2, placeholder="", label="Generated Text")
|
111 |
-
with gr.Column(scale=1):
|
112 |
-
ITT_Clear_button = gr.ClearButton(components=[img, generated_textbox], value="Clear")
|
113 |
-
with gr.Row():
|
114 |
-
generated_image = gr.Image(label="Generated Image")
|
115 |
|
116 |
ITT_button.click(launch_image_pipe, inputs=[img], outputs=[generated_textbox])
|
117 |
-
# image_generation_button.click(image_generate, inputs=[generated_textbox], outputs=[generated_image])
|
118 |
|
119 |
with gr.TabItem("Text"):
|
120 |
with gr.Row():
|
|
|
105 |
with gr.Column():
|
106 |
img = gr.Image(type='pil')
|
107 |
with gr.Column():
|
108 |
+
generated_textbox = gr.Textbox(lines=2, placeholder="", label="Generated Text")
|
109 |
+
ITT_Clear_button = gr.ClearButton(components=[img, generated_textbox], value="Clear")
|
|
|
|
|
|
|
|
|
|
|
110 |
|
111 |
ITT_button.click(launch_image_pipe, inputs=[img], outputs=[generated_textbox])
|
|
|
112 |
|
113 |
with gr.TabItem("Text"):
|
114 |
with gr.Row():
|