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