Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,7 @@ async def gpt_translate(text, target_lang):
|
|
| 69 |
)
|
| 70 |
return response.choices[0].message.content.strip()
|
| 71 |
|
| 72 |
-
|
| 73 |
history.append({"role": "user", "content": user_input})
|
| 74 |
|
| 75 |
if language == "":
|
|
|
|
| 69 |
)
|
| 70 |
return response.choices[0].message.content.strip()
|
| 71 |
|
| 72 |
+
async def respond(user_input, history, step, language, questions, followup_mode, followup_stage):
|
| 73 |
history.append({"role": "user", "content": user_input})
|
| 74 |
|
| 75 |
if language == "":
|