Update app.py
Browse files
app.py
CHANGED
|
@@ -9,10 +9,10 @@ API_ENDPOINT = "https://kubrabuzlu-sentimentandintentionanalysis.hf.space/analyz
|
|
| 9 |
class Text(BaseModel):
|
| 10 |
text: str
|
| 11 |
|
| 12 |
-
# Streamlit
|
| 13 |
st.title("Text Analysis App")
|
| 14 |
|
| 15 |
-
#
|
| 16 |
input_text = st.text_area("Enter your text here:")
|
| 17 |
|
| 18 |
if st.button("Analyze"):
|
|
|
|
| 9 |
class Text(BaseModel):
|
| 10 |
text: str
|
| 11 |
|
| 12 |
+
# Create Streamlit app
|
| 13 |
st.title("Text Analysis App")
|
| 14 |
|
| 15 |
+
# Get text from user
|
| 16 |
input_text = st.text_area("Enter your text here:")
|
| 17 |
|
| 18 |
if st.button("Analyze"):
|