Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -889,7 +889,7 @@ Example: 'Received {total_slides} slides, {total_slides} scripts, and HTML files
|
|
889 |
audio_files.append(audio_file)
|
890 |
audio_urls[i] = get_gradio_file_url(audio_file)
|
891 |
progress = 90 + ((i + 1) / len(scripts)) * 10
|
892 |
-
label = f"Generating speech for slide {i + 1}/{len(scripts)}..."
|
893 |
file_paths.append(audio_file)
|
894 |
yield (
|
895 |
html_with_progress(label, progress),
|
@@ -905,7 +905,7 @@ Example: 'Received {total_slides} slides, {total_slides} scripts, and HTML files
|
|
905 |
audio_files.append(None)
|
906 |
audio_urls[i] = None
|
907 |
progress = 90 + ((i + 1) / len(scripts)) * 10
|
908 |
-
label = f"Generating speech for slide {i + 1}/{len(scripts)}..."
|
909 |
yield (
|
910 |
html_with_progress(label, progress),
|
911 |
file_paths,
|
|
|
889 |
audio_files.append(audio_file)
|
890 |
audio_urls[i] = get_gradio_file_url(audio_file)
|
891 |
progress = 90 + ((i + 1) / len(scripts)) * 10
|
892 |
+
label = f"Generating lecture speech for slide {i + 1}/{len(scripts)}..."
|
893 |
file_paths.append(audio_file)
|
894 |
yield (
|
895 |
html_with_progress(label, progress),
|
|
|
905 |
audio_files.append(None)
|
906 |
audio_urls[i] = None
|
907 |
progress = 90 + ((i + 1) / len(scripts)) * 10
|
908 |
+
label = f"Generating lecture speech for slide {i + 1}/{len(scripts)}..."
|
909 |
yield (
|
910 |
html_with_progress(label, progress),
|
911 |
file_paths,
|