RanjithkumarPanjabikesan commited on
Commit
5c5d04a
·
verified ·
1 Parent(s): 6931598

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,8 +7,8 @@ def caption_and_generate(image):
7
  return [caption, image]
8
 
9
  with gr.Blocks() as demo:
10
- gr.Markdown("# Caption Image-and-Generate game 🖍️")
11
- image_upload = gr.Image(label="Your first image",type="pil")
12
  btn_all = gr.Button("Caption and generate")
13
  caption = gr.Textbox(label="Generated caption")
14
  image_output = gr.Image(label="Generated Image")
 
7
  return [caption, image]
8
 
9
  with gr.Blocks() as demo:
10
+ gr.Markdown("# Caption Image-and-Generate Image🖍️")
11
+ image_upload = gr.Image(label="Upload Your image",type="pil")
12
  btn_all = gr.Button("Caption and generate")
13
  caption = gr.Textbox(label="Generated caption")
14
  image_output = gr.Image(label="Generated Image")