Spaces:
Sleeping
Sleeping
json
Browse files
app.py
CHANGED
|
@@ -38,5 +38,5 @@ def greet(input):
|
|
| 38 |
response = get_completion(input)
|
| 39 |
return json.dumps(response)
|
| 40 |
|
| 41 |
-
iface = gr.Interface(fn=greet, inputs=[gr.Textbox(label="Prompt", lines=3)], outputs="
|
| 42 |
iface.launch()
|
|
|
|
| 38 |
response = get_completion(input)
|
| 39 |
return json.dumps(response)
|
| 40 |
|
| 41 |
+
iface = gr.Interface(fn=greet, inputs=[gr.Textbox(label="Prompt", lines=3)], outputs="json")
|
| 42 |
iface.launch()
|