Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -41,5 +41,5 @@ def greet(json_input):
|
|
41 |
|
42 |
return '333'
|
43 |
|
44 |
-
demo = gr.Interface(fn=greet, inputs=gr.
|
45 |
demo.launch()
|
|
|
41 |
|
42 |
return '333'
|
43 |
|
44 |
+
demo = gr.Interface(fn=greet, inputs=gr.JSON(), outputs="text")
|
45 |
demo.launch()
|