ParisNeo commited on
Commit
ee6da3d
·
1 Parent(s): 307d0cd

changed image size

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ class App():
27
  with gr.Blocks() as demo:
28
  gr.Markdown("# BLIP Image question and answer\nThis model allow you to ask questions about an image.\nBrought to gradio by @ParisNeo from the original github Blip code [https://github.com/salesforce/BLIP](https://github.com/salesforce/BLIP)\nThis model is described in this paper :[https://arxiv.org/abs/2201.12086](https://arxiv.org/abs/2201.12086)")
29
  with gr.Row():
30
- self.image_source = gr.inputs.Image(shape=(224, 224))
31
  with gr.Tabs():
32
  with gr.Tab("Question/Answer"):
33
  self.question = gr.inputs.Textbox(label="Custom question (if applicable)", default="Describe this image")
 
27
  with gr.Blocks() as demo:
28
  gr.Markdown("# BLIP Image question and answer\nThis model allow you to ask questions about an image.\nBrought to gradio by @ParisNeo from the original github Blip code [https://github.com/salesforce/BLIP](https://github.com/salesforce/BLIP)\nThis model is described in this paper :[https://arxiv.org/abs/2201.12086](https://arxiv.org/abs/2201.12086)")
29
  with gr.Row():
30
+ self.image_source = gr.inputs.Image(shape=(448, 448))
31
  with gr.Tabs():
32
  with gr.Tab("Question/Answer"):
33
  self.question = gr.inputs.Textbox(label="Custom question (if applicable)", default="Describe this image")