Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ def generate_text(messages, engine='gpt-3.5-turbo', max_tokens=2048, temperature
|
|
112 |
n=1,
|
113 |
temperature=temperature
|
114 |
)
|
115 |
-
|
116 |
|
117 |
|
118 |
def generate_answer(question):
|
|
|
112 |
n=1,
|
113 |
temperature=temperature
|
114 |
)
|
115 |
+
return response.choices[0].message['content']
|
116 |
|
117 |
|
118 |
def generate_answer(question):
|