Spaces:
Runtime error
Runtime error
Commit
·
fbdfc26
1
Parent(s):
4f3f5b9
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def main():
|
|
| 10 |
st.title("Sentiment Analysis App")
|
| 11 |
st.write("Enter a text and select a pretrained model to perform sentiment analysis.")
|
| 12 |
|
| 13 |
-
text = st.text_area("Enter text", value="")
|
| 14 |
|
| 15 |
model_options = {
|
| 16 |
"distilbert-base-uncased-finetuned-sst-2-english": "DistilBERT (SST-2)",
|
|
|
|
| 10 |
st.title("Sentiment Analysis App")
|
| 11 |
st.write("Enter a text and select a pretrained model to perform sentiment analysis.")
|
| 12 |
|
| 13 |
+
text = st.text_area("Enter text", value="I am leaving my hometown for greener pastures.")
|
| 14 |
|
| 15 |
model_options = {
|
| 16 |
"distilbert-base-uncased-finetuned-sst-2-english": "DistilBERT (SST-2)",
|