yuragoithf
commited on
Commit
•
36238a7
1
Parent(s):
c20227f
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def rb(img):
|
|
31 |
return response.json()
|
32 |
|
33 |
|
34 |
-
inputs = gr.
|
35 |
demo = gr.Interface(fn=rb, inputs=inputs, outputs="json")
|
36 |
demo.launch()
|
37 |
|
|
|
31 |
return response.json()
|
32 |
|
33 |
|
34 |
+
inputs = gr.components.Image(type="pil", label="Upload an image")
|
35 |
demo = gr.Interface(fn=rb, inputs=inputs, outputs="json")
|
36 |
demo.launch()
|
37 |
|