Spaces:
Running
on
Zero
Running
on
Zero
Fix design
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ pipeに渡しているkwargsは以下の最低限のもの:
|
|
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,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")
|