Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,6 +41,7 @@ def process_command(command):
|
|
| 41 |
{"role": "user", "content": text}
|
| 42 |
]
|
| 43 |
)
|
|
|
|
| 44 |
return json.loads(response.choices[0].message.content)
|
| 45 |
|
| 46 |
def text_to_speech(text):
|
|
|
|
| 41 |
{"role": "user", "content": text}
|
| 42 |
]
|
| 43 |
)
|
| 44 |
+
print("Raw API Response:", response)
|
| 45 |
return json.loads(response.choices[0].message.content)
|
| 46 |
|
| 47 |
def text_to_speech(text):
|