lmastm commited on
Commit
dab0700
·
verified ·
1 Parent(s): acc6e12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
  import torch
4
 
5
  pipe = pipeline(model="facebook/opt-1.3b", torch_dtype=torch.bfloat16, device_map="auto")
6
- text = st.text_area("Enter a sentence !")
7
 
8
  if text:
9
  out = pipe(text, do_sample=True, top_p=0.95)
 
3
  import torch
4
 
5
  pipe = pipeline(model="facebook/opt-1.3b", torch_dtype=torch.bfloat16, device_map="auto")
6
+ text = st.text_area("Enter a sentence !!!")
7
 
8
  if text:
9
  out = pipe(text, do_sample=True, top_p=0.95)