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()
|