Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,10 +27,10 @@ def translate_to_english(text, lang_model_id, base_lang):
|
|
27 |
def biogpt(
|
28 |
prompt: str,
|
29 |
biogpt_model_id: str,
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
):
|
35 |
|
36 |
en_prompt = translate_to_english(prompt, lang_model_id, base_lang)[0]
|
|
|
27 |
def biogpt(
|
28 |
prompt: str,
|
29 |
biogpt_model_id: str,
|
30 |
+
max_length: str,
|
31 |
+
num_return_sequences: int,
|
32 |
+
base_lang: str,
|
33 |
+
lang_model_id: str
|
34 |
):
|
35 |
|
36 |
en_prompt = translate_to_english(prompt, lang_model_id, base_lang)[0]
|