Update app.py
Browse files
app.py
CHANGED
@@ -37,10 +37,10 @@ img#style-image {
|
|
37 |
max-height: 600px;
|
38 |
}
|
39 |
'''
|
40 |
-
|
41 |
-
|
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")
|
|
|
37 |
max-height: 600px;
|
38 |
}
|
39 |
'''
|
40 |
+
demo = gr.Blocks(css="footer {visibility: hidden}")
|
41 |
+
with demo:
|
42 |
+
gr.Markdown('''<h1 id="title">Image to Text </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")
|