Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -229,7 +229,7 @@ def generate_stream():
|
|
| 229 |
try:
|
| 230 |
# Use streaming for TTS
|
| 231 |
tts_stream = client.models.generate_content_stream(
|
| 232 |
-
model= "gemini-2.5-flash-
|
| 233 |
contents=[types.Content(role="user", parts=[types.Part.from_text(text=style_prompt)])],
|
| 234 |
config=types.GenerateContentConfig(
|
| 235 |
response_modalities=["AUDIO"],
|
|
|
|
| 229 |
try:
|
| 230 |
# Use streaming for TTS
|
| 231 |
tts_stream = client.models.generate_content_stream(
|
| 232 |
+
model= "gemini-2.5-flash-preview-tts",
|
| 233 |
contents=[types.Content(role="user", parts=[types.Part.from_text(text=style_prompt)])],
|
| 234 |
config=types.GenerateContentConfig(
|
| 235 |
response_modalities=["AUDIO"],
|