Spaces:
Sleeping
Sleeping
Correct spelling error
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def response(message, history):
|
|
| 28 |
max_tokens = 100 #chunks of material
|
| 29 |
)
|
| 30 |
|
| 31 |
-
return
|
| 32 |
|
| 33 |
#print("Hello world!") #prints in the logs
|
| 34 |
|
|
|
|
| 28 |
max_tokens = 100 #chunks of material
|
| 29 |
)
|
| 30 |
|
| 31 |
+
return responses['choices'][0]['message']['content'].strip() #returns response from library
|
| 32 |
|
| 33 |
#print("Hello world!") #prints in the logs
|
| 34 |
|