sitammeur commited on
Commit
49de293
·
verified ·
1 Parent(s): f158c17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ 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
@@ -28,7 +28,7 @@ article = "<p style='text-align: center'><a href='https://github.com/OpenBMB/Min
28
 
29
  # Launch the interface
30
  interface = gr.Interface(
31
- fn=answer_question,
32
  inputs=[image, question],
33
  outputs=answer,
34
  examples=examples,
 
3
  warnings.filterwarnings("ignore")
4
 
5
  import gradio as gr
6
+ from src.app.response import describe_image
7
 
8
 
9
  # Image and text inputs for the interface
 
28
 
29
  # Launch the interface
30
  interface = gr.Interface(
31
+ fn=describe_image,
32
  inputs=[image, question],
33
  outputs=answer,
34
  examples=examples,