bofenghuang commited on
Commit
7190d49
Β·
1 Parent(s): a2cff01
Files changed (2) hide show
  1. run_demo.py +2 -2
  2. run_demo_multi_models.py +2 -2
run_demo.py CHANGED
@@ -67,7 +67,7 @@ mf_transcribe = gr.Interface(
67
  outputs="text",
68
  layout="horizontal",
69
  theme="huggingface",
70
- title="Whisper Demo: Transcribe Audio",
71
  description=(
72
  "Transcribe long-form microphone or audio inputs with the click of a button! Demo uses the the fine-tuned"
73
  f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and πŸ€— Transformers to transcribe audio files"
@@ -82,7 +82,7 @@ yt_transcribe = gr.Interface(
82
  outputs=["html", "text"],
83
  layout="horizontal",
84
  theme="huggingface",
85
- title="Whisper Demo: Transcribe YouTube",
86
  description=(
87
  "Transcribe long-form YouTube videos with the click of a button! Demo uses the the fine-tuned checkpoint:"
88
  f" [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and πŸ€— Transformers to transcribe audio files of"
 
67
  outputs="text",
68
  layout="horizontal",
69
  theme="huggingface",
70
+ title="Whisper French Demo πŸ‡«πŸ‡· : Transcribe Audio",
71
  description=(
72
  "Transcribe long-form microphone or audio inputs with the click of a button! Demo uses the the fine-tuned"
73
  f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and πŸ€— Transformers to transcribe audio files"
 
82
  outputs=["html", "text"],
83
  layout="horizontal",
84
  theme="huggingface",
85
+ title="Whisper French Demo πŸ‡«πŸ‡· : Transcribe YouTube",
86
  description=(
87
  "Transcribe long-form YouTube videos with the click of a button! Demo uses the the fine-tuned checkpoint:"
88
  f" [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and πŸ€— Transformers to transcribe audio files of"
run_demo_multi_models.py CHANGED
@@ -118,7 +118,7 @@ mf_transcribe = gr.Interface(
118
  outputs=gr.outputs.Textbox(label="Transcription"),
119
  layout="horizontal",
120
  theme="huggingface",
121
- title="Whisper Demo: Transcribe Audio",
122
  description="Transcribe long-form microphone or audio inputs with the click of a button!",
123
  allow_flagging="never",
124
  )
@@ -136,7 +136,7 @@ yt_transcribe = gr.Interface(
136
  ],
137
  layout="horizontal",
138
  theme="huggingface",
139
- title="Whisper Demo: Transcribe YouTube",
140
  description="Transcribe long-form YouTube videos with the click of a button!",
141
  allow_flagging="never",
142
  )
 
118
  outputs=gr.outputs.Textbox(label="Transcription"),
119
  layout="horizontal",
120
  theme="huggingface",
121
+ title="Whisper French Demo πŸ‡«πŸ‡· : Transcribe Audio",
122
  description="Transcribe long-form microphone or audio inputs with the click of a button!",
123
  allow_flagging="never",
124
  )
 
136
  ],
137
  layout="horizontal",
138
  theme="huggingface",
139
+ title="Whisper French Demo πŸ‡«πŸ‡· : Transcribe YouTube",
140
  description="Transcribe long-form YouTube videos with the click of a button!",
141
  allow_flagging="never",
142
  )