Spaces:
Sleeping
Sleeping
removed audio
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ async def greet(product,description):
|
|
96 |
warning_message = chat_completion.choices[0].message.content
|
97 |
if warning_message != 'safe':
|
98 |
#processed_audio = combine_audio_files(text_to_speech([chat_completion.choices[0].message.content]))
|
99 |
-
|
100 |
else:
|
101 |
output = llm.create_chat_completion(
|
102 |
messages=[
|
|
|
96 |
warning_message = chat_completion.choices[0].message.content
|
97 |
if warning_message != 'safe':
|
98 |
#processed_audio = combine_audio_files(text_to_speech([chat_completion.choices[0].message.content]))
|
99 |
+
yield warning_message
|
100 |
else:
|
101 |
output = llm.create_chat_completion(
|
102 |
messages=[
|