Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def inference(image):
|
|
71 |
|
72 |
|
73 |
|
74 |
-
demo = gr.Interface(fn=
|
75 |
-
|
76 |
-
|
77 |
demo.launch()
|
|
|
71 |
|
72 |
|
73 |
|
74 |
+
demo = gr.Interface(fn=inference,
|
75 |
+
inputs=gr.File(label='Upload image'),
|
76 |
+
outputs="text")
|
77 |
demo.launch()
|