Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ async def greet(product,description):
|
|
109 |
else:
|
110 |
text_str = a_list[0]
|
111 |
samples = tts.synthesize(text_str, speakers[-1])
|
112 |
-
yield gr.Audio
|
113 |
else:
|
114 |
output = llm.create_chat_completion(
|
115 |
messages=[
|
|
|
109 |
else:
|
110 |
text_str = a_list[0]
|
111 |
samples = tts.synthesize(text_str, speakers[-1])
|
112 |
+
yield gr.Audio(value=(tts.get_sampling_rate(), samples))
|
113 |
else:
|
114 |
output = llm.create_chat_completion(
|
115 |
messages=[
|