Spaces:
Runtime error
Runtime error
Commit
·
f352398
1
Parent(s):
73e88e8
Update app.py
Browse files
app.py
CHANGED
@@ -88,14 +88,25 @@ def sentiment_analysis_model2(text):
|
|
88 |
|
89 |
|
90 |
# Define the Streamlit app
|
91 |
-
|
92 |
def app():
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
|
100 |
|
101 |
|
|
|
88 |
|
89 |
|
90 |
# Define the Streamlit app
|
|
|
91 |
def app():
|
92 |
+
|
93 |
+
# Define the app title
|
94 |
+
|
95 |
+
st.title("Sentiment Analysis")
|
96 |
+
|
97 |
+
|
98 |
+
|
99 |
+
|
100 |
+
# Define the input field
|
101 |
+
|
102 |
+
text_input = st.text_input("Enter text:")
|
103 |
+
|
104 |
+
|
105 |
+
|
106 |
+
|
107 |
+
# Define the model selection dropdown
|
108 |
+
|
109 |
+
model_selection = st.selectbox("Select a model:", ["Model 1", "Model 2"])
|
110 |
|
111 |
|
112 |
|