litagin commited on
Commit
409084a
1 Parent(s): bef66de
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -76,11 +76,21 @@ initial_md = """
76
  - 現在0.1エポックくらい
77
  - 速度はCPUです
78
  - 音声は15秒まで
 
 
 
 
 
 
 
 
 
 
79
  """
80
 
81
  with gr.Blocks() as app:
 
82
  audio = gr.Audio(type="filepath")
83
- gr.Markdown("### Kotoba-Whisper-V1.0")
84
  with gr.Row():
85
  with gr.Column():
86
  gr.Markdown("### Whisper-Large-V2")
 
76
  - 現在0.1エポックくらい
77
  - 速度はCPUです
78
  - 音声は15秒まで
79
+
80
+ pipeのハイパラ:
81
+ ```python
82
+ generate_kwargs = {
83
+ "language": "Japanese",
84
+ "do_sample": False,
85
+ "num_beams": 1,
86
+ "no_repeat_ngram_size": 3,
87
+ }
88
+ ```
89
  """
90
 
91
  with gr.Blocks() as app:
92
+ gr.Markdown(initial_md)
93
  audio = gr.Audio(type="filepath")
 
94
  with gr.Row():
95
  with gr.Column():
96
  gr.Markdown("### Whisper-Large-V2")