Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,5 +17,5 @@ def query(payload):
|
|
| 17 |
return json.loads(response.content.decode("utf-8"))
|
| 18 |
|
| 19 |
|
| 20 |
-
iface = gr.Interface(fn=
|
| 21 |
iface.launch()
|
|
|
|
| 17 |
return json.loads(response.content.decode("utf-8"))
|
| 18 |
|
| 19 |
|
| 20 |
+
iface = gr.Interface(fn=query, inputs="text", outputs="text")
|
| 21 |
iface.launch()
|