iamrobotbear commited on
Commit
ee4f4a6
·
1 Parent(s): 4385c07

make the layout stack

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -123,5 +123,12 @@ def process_images_and_statements(image):
123
  image_input = gr.inputs.Image()
124
  output = gr.outputs.Dataframe(type="pandas", label="Results") # <--- Use "pandas" type for DataFrame output
125
 
126
- iface = gr.Interface(fn=process_images_and_statements, inputs=image_input, outputs=output, title="Image Captioning and Image-Text Matching")
 
 
 
 
 
 
 
127
  iface.launch()
 
123
  image_input = gr.inputs.Image()
124
  output = gr.outputs.Dataframe(type="pandas", label="Results") # <--- Use "pandas" type for DataFrame output
125
 
126
+ iface = gr.Interface(
127
+ fn=process_images_and_statements,
128
+ inputs=image_input,
129
+ outputs=output,
130
+ title="Image Captioning and Image-Text Matching",
131
+ layout="vertical" # Set layout to "vertical"
132
+ theme='freddyaboulton/dracula_revamped'
133
+ )
134
  iface.launch()