asahi417 commited on
Commit
5734c47
β€’
1 Parent(s): f670d94
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +4 -4
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Kotoba Whisper Demo
3
  emoji: πŸ”₯
4
  colorFrom: yellow
5
  colorTo: blue
 
1
  ---
2
+ title: Kotoba Whisper Bilingual Demo
3
  emoji: πŸ”₯
4
  colorFrom: yellow
5
  colorTo: blue
app.py CHANGED
@@ -70,10 +70,10 @@ def transcribe(inputs: str, task: str, language: str):
70
 
71
 
72
  demo = gr.Blocks()
73
- description = (f"Transcribe long-form microphone or audio inputs with the click of a button! Demo uses Kotoba-Whisper "
74
- f"checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and πŸ€— Transformers to transcribe audio"
75
- f" files of arbitrary length.")
76
- title = f"Transcribe Audio with {os.path.basename(MODEL_NAME)}"
77
  mf_transcribe = gr.Interface(
78
  fn=transcribe,
79
  inputs=[
 
70
 
71
 
72
  demo = gr.Blocks()
73
+ description = (f"Kotoba-whisper-bilingual is speech transcribe and translation model for English and Japanese! Demo "
74
+ f"[{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and πŸ€— Transformers to transcribe/translate audio"
75
+ f" files of arbitrary length. Make sure to choose the desired language of the transcription from the tab.")
76
+ title = f"Transcribe/translate Japanese & English Audio with Kotoba-Whisper-Bilingual"
77
  mf_transcribe = gr.Interface(
78
  fn=transcribe,
79
  inputs=[