debisoft commited on
Commit
921294b
·
1 Parent(s): 824c003
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ Format your response as a JSON object with \
29
  Text sample: '''{input}'''
30
  """
31
  response = get_completion(prompt)
32
- return response
33
 
34
  #iface = gr.Interface(fn=greet, inputs="text", outputs="text")
35
  #iface.launch()
 
29
  Text sample: '''{input}'''
30
  """
31
  response = get_completion(prompt)
32
+ return json.dumps(response)
33
 
34
  #iface = gr.Interface(fn=greet, inputs="text", outputs="text")
35
  #iface.launch()