Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -118,15 +118,18 @@ system_info = gr.Markdown(f"*Memory: {memory.total / (1024 * 1024 * 1024):.2f}GB
|
|
118 |
|
119 |
with demo:
|
120 |
with gr.Row():
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
|
|
|
|
|
|
130 |
with gr.Row():
|
131 |
with gr.Column():
|
132 |
raw_image.render()
|
|
|
118 |
|
119 |
with demo:
|
120 |
with gr.Row():
|
121 |
+
gr.Markdown('''
|
122 |
+
<div>
|
123 |
+
<h1 style='text-align: center'>From Images to Textual Prompts: Zero-shot VQA with Frozen Large Language Models</h1>
|
124 |
+
</div>
|
125 |
+
''')
|
126 |
+
with gr.Row():
|
127 |
+
gr.Markdown('''
|
128 |
+
### How to use this space
|
129 |
+
##### 1. Upload your image and fill your question
|
130 |
+
##### 2. Creating caption from your image
|
131 |
+
##### 3. Answering your question based on uploaded image
|
132 |
+
''')
|
133 |
with gr.Row():
|
134 |
with gr.Column():
|
135 |
raw_image.render()
|