sitammeur commited on
Commit
742fbf4
·
verified ·
1 Parent(s): 7ac068e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,10 +1,13 @@
1
  # Importing the requirements
 
 
 
2
  import gradio as gr
3
  from model import answer_question
4
 
5
 
6
  # Image and text inputs for the interface
7
- image = gr.Image(type="pil", label="Image", interactive=True)
8
  question = gr.Textbox(label="Question", placeholder="Enter your question here")
9
 
10
  # Output for the interface
 
1
  # Importing the requirements
2
+ import warnings
3
+ warnings.filterwarnings("ignore")
4
+
5
  import gradio as gr
6
  from model import answer_question
7
 
8
 
9
  # Image and text inputs for the interface
10
+ image = gr.Image(type="pil", label="Image")
11
  question = gr.Textbox(label="Question", placeholder="Enter your question here")
12
 
13
  # Output for the interface