Spaces:
Running
Running
mrfakename
commited on
Commit
•
48f948a
1
Parent(s):
968519d
Sync from GitHub repo
Browse filesThis Space is synced from the GitHub repo: https://github.com/SWivid/F5-TTS. Please submit contributions to the Space there
app.py
CHANGED
@@ -141,6 +141,7 @@ def generate_podcast(
|
|
141 |
|
142 |
return podcast_path
|
143 |
|
|
|
144 |
with gr.Blocks() as app_credits:
|
145 |
gr.Markdown("""
|
146 |
# Credits
|
@@ -247,6 +248,7 @@ with gr.Blocks() as app_podcast:
|
|
247 |
outputs=podcast_output,
|
248 |
)
|
249 |
|
|
|
250 |
def parse_speechtypes_text(gen_text):
|
251 |
# Pattern to find (Emotion)
|
252 |
pattern = r"\{(.*?)\}"
|
@@ -271,6 +273,7 @@ def parse_speechtypes_text(gen_text):
|
|
271 |
|
272 |
return segments
|
273 |
|
|
|
274 |
with gr.Blocks() as app_emotional:
|
275 |
# New section for emotional generation
|
276 |
gr.Markdown(
|
|
|
141 |
|
142 |
return podcast_path
|
143 |
|
144 |
+
|
145 |
with gr.Blocks() as app_credits:
|
146 |
gr.Markdown("""
|
147 |
# Credits
|
|
|
248 |
outputs=podcast_output,
|
249 |
)
|
250 |
|
251 |
+
|
252 |
def parse_speechtypes_text(gen_text):
|
253 |
# Pattern to find (Emotion)
|
254 |
pattern = r"\{(.*?)\}"
|
|
|
273 |
|
274 |
return segments
|
275 |
|
276 |
+
|
277 |
with gr.Blocks() as app_emotional:
|
278 |
# New section for emotional generation
|
279 |
gr.Markdown(
|