Update app.py
Browse files
app.py
CHANGED
|
@@ -103,8 +103,8 @@ demo = gr.Interface(
|
|
| 103 |
fn=segment,
|
| 104 |
inputs=[
|
| 105 |
gr.Image(type="filepath",shape=(200, 200),label="请选择一张图片"),
|
| 106 |
-
gr.components.Textbox(label="
|
| 107 |
],
|
| 108 |
-
outputs=[gr.components.Textbox(label="
|
| 109 |
demo.launch()
|
| 110 |
|
|
|
|
| 103 |
fn=segment,
|
| 104 |
inputs=[
|
| 105 |
gr.Image(type="filepath",shape=(200, 200),label="请选择一张图片"),
|
| 106 |
+
gr.components.Textbox(label="请输入问题"),
|
| 107 |
],
|
| 108 |
+
outputs=[gr.components.Textbox(label="答案",lines=4)])
|
| 109 |
demo.launch()
|
| 110 |
|