kadirnar commited on
Commit
6fd8f41
1 Parent(s): d2e191b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- lang_model_id:str,
31
- max_length: int = 25,
32
- num_return_sequences: int = 5,
33
- base_lang: str = "English"
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]