Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,7 @@ def load_models():
|
|
15 |
model_name_dict = {
|
16 |
'nllb-biboen-1': 'TenzinGayche/nllb_600M_bi_boen',
|
17 |
'nllb-biboen-2': 'TenzinGayche/nllb_600M_bi_boen_gold',
|
|
|
18 |
}
|
19 |
|
20 |
model_dict = {}
|
@@ -64,7 +65,7 @@ if __name__ == '__main__':
|
|
64 |
|
65 |
with gr.Row():
|
66 |
with gr.Column():
|
67 |
-
model_input = gr.Radio(['nllb-biboen-1', 'nllb-biboen-2'], label='Select NLLB Model')
|
68 |
source_lang = gr.Dropdown(lang_codes, value='English', label='Source Language')
|
69 |
target_lang = gr.Dropdown(lang_codes, value='Standard Tibetan', label='Target Language')
|
70 |
input_text = gr.Textbox(lines=5, label="Input Text", placeholder="Enter the text you want to translate")
|
|
|
15 |
model_name_dict = {
|
16 |
'nllb-biboen-1': 'TenzinGayche/nllb_600M_bi_boen',
|
17 |
'nllb-biboen-2': 'TenzinGayche/nllb_600M_bi_boen_gold',
|
18 |
+
'nllb-biboen-3': 'TenzinGayche/nllb_600M_bi_boen_3',
|
19 |
}
|
20 |
|
21 |
model_dict = {}
|
|
|
65 |
|
66 |
with gr.Row():
|
67 |
with gr.Column():
|
68 |
+
model_input = gr.Radio(['nllb-biboen-1', 'nllb-biboen-2','nllb-biboen-3'], label='Select NLLB Model')
|
69 |
source_lang = gr.Dropdown(lang_codes, value='English', label='Source Language')
|
70 |
target_lang = gr.Dropdown(lang_codes, value='Standard Tibetan', label='Target Language')
|
71 |
input_text = gr.Textbox(lines=5, label="Input Text", placeholder="Enter the text you want to translate")
|