TwentyNine
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
3 |
|
4 |
-
tokenizer = AutoTokenizer.from_pretrained("TwentyNine/byt5-
|
5 |
-
model = AutoModelForSeq2SeqLM.from_pretrained("TwentyNine/byt5-
|
6 |
|
7 |
def transcribe(input_str):
|
8 |
output_str = ''
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
3 |
|
4 |
+
tokenizer = AutoTokenizer.from_pretrained("TwentyNine/byt5-small-ainu-latinizer-lr-11")
|
5 |
+
model = AutoModelForSeq2SeqLM.from_pretrained("TwentyNine/byt5-small-ainu-latinizer-lr-11")
|
6 |
|
7 |
def transcribe(input_str):
|
8 |
output_str = ''
|