Update app.py
Browse files
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 |
-
|
43 |
-
|
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")
|