litagin commited on
Commit
d50db7b
·
1 Parent(s): 5c91bae

Fix design

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -91,7 +91,7 @@ pipeに渡しているkwargsは以下の最低限のもの:
91
  generate_kwargs = {
92
  "language": "Japanese",
93
  "do_sample": False,
94
- "num_beams": 1,[openai/whisper-large-v3](https://huggingface.co/openai/whisper-large-v3)
95
  "no_repeat_ngram_size": 0,
96
  "max_new_tokens": 64, # 結果が長いときは途中で打ち切る
97
  }
@@ -106,9 +106,9 @@ with gr.Blocks() as app:
106
  gr.Markdown("### Anime-Whisper")
107
  button_galgame = gr.Button("Transcribe with Anime-Whisper")
108
  output_galgame = gr.Textbox(label="Result")
 
 
109
  with gr.Row():
110
- gr.Markdown("### Comparison")
111
- button_others = gr.Button("Transcribe with other models")
112
  with gr.Column():
113
  gr.Markdown("### Whisper-Large-V2")
114
  output_v2 = gr.Textbox(label="Result")
 
91
  generate_kwargs = {
92
  "language": "Japanese",
93
  "do_sample": False,
94
+ "num_beams": 1,
95
  "no_repeat_ngram_size": 0,
96
  "max_new_tokens": 64, # 結果が長いときは途中で打ち切る
97
  }
 
106
  gr.Markdown("### Anime-Whisper")
107
  button_galgame = gr.Button("Transcribe with Anime-Whisper")
108
  output_galgame = gr.Textbox(label="Result")
109
+ gr.Markdown("### Comparison")
110
+ button_others = gr.Button("Transcribe with other models")
111
  with gr.Row():
 
 
112
  with gr.Column():
113
  gr.Markdown("### Whisper-Large-V2")
114
  output_v2 = gr.Textbox(label="Result")