Spaces:
Runtime error
Runtime error
Create new file
Browse files
app.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from transformers import pipeline
|
3 |
+
from textblob import TextBlob
|
4 |
+
|
5 |
+
pipe = pipeline('Turkish_Passive_Summarization')
|
6 |
+
st.title("Turkish Passive Summarization")
|
7 |
+
#Textbox for text user is entering
|
8 |
+
st.subheader("Enter the text you'd like to analyze.")
|
9 |
+
text = st.text_input('Enter text') #text is stored in this variable
|