Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from utils import answer
|
|
6 |
gradio_app = gr.Interface(
|
7 |
answer,
|
8 |
inputs= [gr.Dropdown(
|
9 |
-
["
|
10 |
outputs= gr.Text(),
|
11 |
title="Describe things",
|
12 |
)
|
|
|
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 |
)
|