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