Spaces:
Running
Running
jonathanagustin
commited on
Commit
•
fb7e56c
1
Parent(s):
98b32f1
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def main():
|
|
118 |
VOICE_PREVIEW_FILES[voice] = local_file_path
|
119 |
|
120 |
# Set static paths for Gradio to serve
|
121 |
-
gr.
|
122 |
|
123 |
with gr.Blocks(title="OpenAI - Text to Speech") as demo:
|
124 |
gr.Markdown("# OpenAI Text-to-Speech Demo")
|
|
|
118 |
VOICE_PREVIEW_FILES[voice] = local_file_path
|
119 |
|
120 |
# Set static paths for Gradio to serve
|
121 |
+
gr.set_static_paths(paths=[PREVIEW_DIR])
|
122 |
|
123 |
with gr.Blocks(title="OpenAI - Text to Speech") as demo:
|
124 |
gr.Markdown("# OpenAI Text-to-Speech Demo")
|