Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -268,7 +268,7 @@ def lumi_api(message: str, history: list[dict], profile_id: str, session_id: str
|
|
| 268 |
new_history, session_id)
|
| 269 |
|
| 270 |
print(f"[API] Success. final_id={final_id}")
|
| 271 |
-
return response_text, _audio_b64(audio_path), avatar_tag, final_id, parsed
|
| 272 |
except Exception as e:
|
| 273 |
print(f"[API Error] {e}")
|
| 274 |
err_msg = "I'm sorry, I'm having a little trouble. Could you try again?"
|
|
|
|
| 268 |
new_history, session_id)
|
| 269 |
|
| 270 |
print(f"[API] Success. final_id={final_id}")
|
| 271 |
+
return response_text, _audio_b64(audio_path), avatar_tag, final_id, parsed.get("actions", [])
|
| 272 |
except Exception as e:
|
| 273 |
print(f"[API Error] {e}")
|
| 274 |
err_msg = "I'm sorry, I'm having a little trouble. Could you try again?"
|