Spaces:
Sleeping
Sleeping
Update app.py (#3)
Browse files- Update app.py (000266844d35feb87fa17a5284234910e0fc0323)
app.py
CHANGED
@@ -63,7 +63,7 @@ def biogpt_text(
|
|
63 |
prompt=output,
|
64 |
model_id=lang_model_id,
|
65 |
device='cuda:0',
|
66 |
-
target_lang=base_lang
|
67 |
)
|
68 |
|
69 |
return en_prompt, output, output_text
|
|
|
63 |
prompt=output,
|
64 |
model_id=lang_model_id,
|
65 |
device='cuda:0',
|
66 |
+
target_lang=lang_ids[base_lang]
|
67 |
)
|
68 |
|
69 |
return en_prompt, output, output_text
|