smsddqui commited on
Commit
4bb4c6d
·
verified ·
1 Parent(s): 35dcfb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,8 +2,8 @@ import streamlit as st
2
  import transformers
3
  from transformers import pipeline
4
 
5
- pipe = pipeline('text-to-speech')
6
- text = st.text_area('"Enter Text"')
7
 
8
  if text:
9
  out=pipe(text)
 
2
  import transformers
3
  from transformers import pipeline
4
 
5
+ pipe = pipeline('sentiment-analysis')
6
+ text = st.text_area("Enter Text")
7
 
8
  if text:
9
  out=pipe(text)