UnionJack commited on
Commit
a937eb0
·
verified ·
1 Parent(s): 226f692

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,7 +10,8 @@ pipe = pipeline(
10
  model=model_id,
11
  torch_dtype=torch.bfloat16,
12
  device_map="auto",
13
- token = os.getenv('HF_TOKEN')
 
14
  )
15
 
16
  input = st.text_input("Ingrese el Promt")
 
10
  model=model_id,
11
  torch_dtype=torch.bfloat16,
12
  device_map="auto",
13
+ token = os.getenv('HF_TOKEN'),
14
+ max_lenght = 50
15
  )
16
 
17
  input = st.text_input("Ingrese el Promt")