hiba9 commited on
Commit
39f5527
·
verified ·
1 Parent(s): 9e64540

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -10,7 +10,7 @@ from transformers import pipeline
10
 
11
  # Use PyTorch
12
  pipe = pipeline("sentiment-analysis", framework="pt")
13
- text=st.text-area("enter some text")
14
- if text:
15
- out=pipe(text)
16
- st.json(out)
 
10
 
11
  # Use PyTorch
12
  pipe = pipeline("sentiment-analysis", framework="pt")
13
+ text = st.text_area("Enter some text")
14
+ if text:
15
+ out=pipe(text)
16
+ st.json(out)