Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"
|
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
|