asahi417 commited on
Commit
79b4851
·
1 Parent(s): b683426
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ def transcribe(inputs: str,
76
  description = (f"Transcribe and diarize long-form microphone or audio inputs with the click of a button! Demo uses "
77
  f"Kotoba-Whisper [{model_name}](https://huggingface.co/{model_name}).")
78
  title = f"Audio Transcription and Diarization with {os.path.basename(model_name)}"
79
- shared_config = {"fn": transcribe, "title": title, "description": description, "allow_flagging": "never", "examples": [example_file]}
80
  o_upload = gr.Markdown()
81
  o_mic = gr.Markdown()
82
  options = [
 
76
  description = (f"Transcribe and diarize long-form microphone or audio inputs with the click of a button! Demo uses "
77
  f"Kotoba-Whisper [{model_name}](https://huggingface.co/{model_name}).")
78
  title = f"Audio Transcription and Diarization with {os.path.basename(model_name)}"
79
+ shared_config = {"fn": transcribe, "title": title, "description": description, "allow_flagging": "never", "examples": [[example_file]]}
80
  o_upload = gr.Markdown()
81
  o_mic = gr.Markdown()
82
  options = [