Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -358,6 +358,8 @@ class AsyncAIConversation:
|
|
| 358 |
|
| 359 |
|
| 360 |
|
|
|
|
|
|
|
| 361 |
|
| 362 |
# Create the async function wrapper for Gradio
|
| 363 |
async def process_audio_gradio(audio_file, system_prompt_input):
|
|
|
|
| 358 |
|
| 359 |
|
| 360 |
|
| 361 |
+
ai_conversation = AsyncAIConversation()
|
| 362 |
+
await ai_conversation.initialize_models()
|
| 363 |
|
| 364 |
# Create the async function wrapper for Gradio
|
| 365 |
async def process_audio_gradio(audio_file, system_prompt_input):
|