Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,8 +56,8 @@ def generate_images(text, num_images=6):
|
|
| 56 |
def create_demo():
|
| 57 |
with gr.Blocks() as demo:
|
| 58 |
text_input = gr.Textbox(label="Enter text")
|
| 59 |
-
submit_button = gr.Button("
|
| 60 |
-
image_gallery = gr.Gallery(label="
|
| 61 |
|
| 62 |
def generate_and_update(text):
|
| 63 |
if text:
|
|
|
|
| 56 |
def create_demo():
|
| 57 |
with gr.Blocks() as demo:
|
| 58 |
text_input = gr.Textbox(label="Enter text")
|
| 59 |
+
submit_button = gr.Button("Search Images")
|
| 60 |
+
image_gallery = gr.Gallery(label="Images matching text search", height="auto")
|
| 61 |
|
| 62 |
def generate_and_update(text):
|
| 63 |
if text:
|