debisoft commited on
Commit
d60a0fb
·
1 Parent(s): 9b86a92
Files changed (1) hide show
  1. app.py +1 -1
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="text")
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()