Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def lstm_model():
|
|
130 |
|
131 |
|
132 |
|
133 |
-
st.title('Model
|
134 |
option = st.selectbox("Select One",['Tumor Detection','Sentiment Classification'])
|
135 |
|
136 |
if option=='Tumor Detection':
|
@@ -138,7 +138,7 @@ if option=='Tumor Detection':
|
|
138 |
img=st.file_uploader("Upload your file here.....", type=['png', 'jpeg', 'jpg'])
|
139 |
cnn_tumor(img)
|
140 |
else:
|
141 |
-
opt=st.radio("Select your
|
142 |
if opt=="Perceptron":
|
143 |
st.title('Perceptron Model')
|
144 |
perceptron()
|
|
|
130 |
|
131 |
|
132 |
|
133 |
+
st.title('Prediction Model')
|
134 |
option = st.selectbox("Select One",['Tumor Detection','Sentiment Classification'])
|
135 |
|
136 |
if option=='Tumor Detection':
|
|
|
138 |
img=st.file_uploader("Upload your file here.....", type=['png', 'jpeg', 'jpg'])
|
139 |
cnn_tumor(img)
|
140 |
else:
|
141 |
+
opt=st.radio("Select your model for sentiment classification",key="visibility",options=["Perceptron",'Backpropogation','DNN','RNN','LSTM'])
|
142 |
if opt=="Perceptron":
|
143 |
st.title('Perceptron Model')
|
144 |
perceptron()
|