debisoft commited on
Commit
4d65837
·
1 Parent(s): 7cc29a8
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 json.dumps(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.loads(response)
33
 
34
  #iface = gr.Interface(fn=greet, inputs="text", outputs="text")
35
  #iface.launch()