Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,6 @@ with gr.Blocks() as demo:
|
|
35 |
# label="Generated images", show_label=False, elem_id="gallery",
|
36 |
# columns=[6], rows=[4], object_fit="contain", height="auto") # set rows to 24 to accommodate all images
|
37 |
# btn = gr.Button("Generate images", scale=0)
|
38 |
-
text_input = gr.Interface(fn=
|
39 |
# btn.click(generate_images, text_input, gallery) # pass the text input interface to btn.click()
|
40 |
demo.launch()
|
|
|
35 |
# label="Generated images", show_label=False, elem_id="gallery",
|
36 |
# columns=[6], rows=[4], object_fit="contain", height="auto") # set rows to 24 to accommodate all images
|
37 |
# btn = gr.Button("Generate images", scale=0)
|
38 |
+
text_input = gr.Interface(fn=generate_images, inputs="text", outputs=["image"] * 1)
|
39 |
# btn.click(generate_images, text_input, gallery) # pass the text input interface to btn.click()
|
40 |
demo.launch()
|