Winnie-Kay commited on
Commit
f352398
·
1 Parent(s): 73e88e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -7
app.py CHANGED
@@ -88,14 +88,25 @@ def sentiment_analysis_model2(text):
88
 
89
 
90
  # Define the Streamlit app
91
-
92
  def app():
93
-   # Define the app title
94
- st.title("Sentiment Analysis")
95
- # Define the input field
96
- text_input = st.text_input("Enter text:")
97
- # Define the model selection dropdown
98
- model_selection = st.selectbox("Select a model:", ["Model 1", "Model 2"])
 
 
 
 
 
 
 
 
 
 
 
 
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