Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def load_models():
|
|
29 |
|
30 |
def translation(source, target, text):
|
31 |
if len(model_dict) == 2:
|
32 |
-
model_name = 'nllb-distilled-
|
33 |
|
34 |
start_time = time.time()
|
35 |
source = flores_codes[source]
|
@@ -68,7 +68,7 @@ if __name__ == '__main__':
|
|
68 |
|
69 |
outputs = gr.outputs.JSON()
|
70 |
|
71 |
-
title = "NLLB distilled
|
72 |
|
73 |
demo_status = "Demo is running on CPU"
|
74 |
description = f"Details: https://github.com/facebookresearch/fairseq/tree/nllb. {demo_status}"
|
|
|
29 |
|
30 |
def translation(source, target, text):
|
31 |
if len(model_dict) == 2:
|
32 |
+
model_name = 'nllb-distilled-1.3B'
|
33 |
|
34 |
start_time = time.time()
|
35 |
source = flores_codes[source]
|
|
|
68 |
|
69 |
outputs = gr.outputs.JSON()
|
70 |
|
71 |
+
title = "NLLB distilled 1.3B distilled demo"
|
72 |
|
73 |
demo_status = "Demo is running on CPU"
|
74 |
description = f"Details: https://github.com/facebookresearch/fairseq/tree/nllb. {demo_status}"
|