Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|