trysem commited on
Commit
ec507d9
·
1 Parent(s): 7baccad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -38,9 +38,9 @@ img#style-image {
38
  }
39
  '''
40
  with gr.Blocks(css="footer {visibility: hidden}") as demo:
41
- with demo:
42
- gr.Markdown('''<h1 id="title">Image to Text AI 🖼️</h1>''')
43
- with gr.Column():
44
  input = gr.inputs.Image(label="Upload your Image", type = 'pil', optional=True)
45
  output = gr.outputs.Textbox(type="auto",label="Captions")
46
  btn = gr.Button("Genrate Caption")
 
38
  }
39
  '''
40
  with gr.Blocks(css="footer {visibility: hidden}") as demo:
41
+ with demo:
42
+ gr.Markdown('''<h1 id="title">Image to Text AI 🖼️</h1>''')
43
+ with gr.Column():
44
  input = gr.inputs.Image(label="Upload your Image", type = 'pil', optional=True)
45
  output = gr.outputs.Textbox(type="auto",label="Captions")
46
  btn = gr.Button("Genrate Caption")