SeemG commited on
Commit
5d6ca46
·
verified ·
1 Parent(s): 3b277b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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("Generate Images")
60
- image_gallery = gr.Gallery(label="Generated Images", height="auto")
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: