Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jpgallegoar authored Oct 23, 2024
1 parent 292301d commit 28571cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gradio_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ def generate_podcast(

return podcast_path


with gr.Blocks() as app_credits:
gr.Markdown("""
# Credits
Expand Down Expand Up @@ -247,6 +248,7 @@ def podcast_generation(
outputs=podcast_output,
)


def parse_speechtypes_text(gen_text):
# Pattern to find (Emotion)
pattern = r"\{(.*?)\}"
Expand All @@ -271,6 +273,7 @@ def parse_speechtypes_text(gen_text):

return segments


with gr.Blocks() as app_emotional:
# New section for emotional generation
gr.Markdown(
Expand Down

0 comments on commit 28571cd

Please sign in to comment.