Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -281,7 +281,6 @@ class VibeVoiceDemo:
|
|
| 281 |
else:
|
| 282 |
print("No example scripts were loaded")
|
| 283 |
|
| 284 |
-
@spaces.GPU
|
| 285 |
def _get_num_speakers_from_script(self, script: str) -> int:
|
| 286 |
"""Determine the number of unique speakers in a script."""
|
| 287 |
import re
|
|
@@ -710,7 +709,7 @@ Or paste text directly and it will auto-assign speakers.""",
|
|
| 710 |
# The generator will yield multiple times
|
| 711 |
final_log = "Starting generation..."
|
| 712 |
|
| 713 |
-
for streaming_audio, complete_audio, log, streaming_visible in demo_instance.
|
| 714 |
num_speakers=int(num_speakers),
|
| 715 |
script=script,
|
| 716 |
speaker_1=speakers[0],
|
|
|
|
| 281 |
else:
|
| 282 |
print("No example scripts were loaded")
|
| 283 |
|
|
|
|
| 284 |
def _get_num_speakers_from_script(self, script: str) -> int:
|
| 285 |
"""Determine the number of unique speakers in a script."""
|
| 286 |
import re
|
|
|
|
| 709 |
# The generator will yield multiple times
|
| 710 |
final_log = "Starting generation..."
|
| 711 |
|
| 712 |
+
for streaming_audio, complete_audio, log, streaming_visible in demo_instance.generate_podcast(
|
| 713 |
num_speakers=int(num_speakers),
|
| 714 |
script=script,
|
| 715 |
speaker_1=speakers[0],
|