tokeron commited on
Commit
89d7d51
1 Parent(s): 262aa6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=get_prompt, inputs="text", outputs=["image"] * 1)
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()