ShynBui commited on
Commit
18c8013
·
verified ·
1 Parent(s): d3f8c04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,8 @@ from utils import *
5
 
6
  gradio_app = gr.Interface(
7
  answer,
8
- inputs= gr.Image(label="Input Image", sources=['upload', 'webcam'], type="pil"),
 
9
  outputs= gr.Text(),
10
  title="Describe things",
11
  )
 
5
 
6
  gradio_app = gr.Interface(
7
  answer,
8
+ inputs= [gr.Dropdown(
9
+ ["Describe_things", "OCR"], label="Chọn nhiệm vụ mong muốn", info="Nó sẽ cho ra kết quả tốt hơn"), gr.Image(label="Input Image", sources=['upload', 'webcam'], type="pil")],
10
  outputs= gr.Text(),
11
  title="Describe things",
12
  )