sadickam commited on
Commit
eb65f34
Β·
1 Parent(s): 528d2f1

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -171,8 +171,8 @@ if submitted:
171
  color="black"
172
  ),
173
  autosize=False,
174
- width=800,
175
- height=500,
176
  xaxis_title="Likelihood of SubCatName",
177
  yaxis_title="SubCatNames",
178
  # legend_title="Topics"
@@ -190,7 +190,7 @@ if submitted:
190
  predicted_1 = st.metric("Predicted SubCatName", sorted_preds_1[0][0])
191
  Prediction_confidence_1 = st.metric("Prediction confidence", (str(round(sorted_preds_1[0][1]*100, 1))+"%"))
192
 
193
- st.success("Great! SubCatName successfully predicted. ", icon="βœ…")
194
 
195
 
196
  # Second prediction
@@ -239,7 +239,7 @@ if submitted:
239
  color="black"
240
  ),
241
  autosize=False,
242
- width=800,
243
  height=200,
244
  xaxis_title="Likelihood of ExtraOver",
245
  yaxis_title="ExtraOver",
@@ -258,7 +258,7 @@ if submitted:
258
  predicted_2 = st.metric("Predicted ExtraOver", sorted_preds_2[0][0])
259
  Prediction_confidence_2 = st.metric("Prediction confidence", (str(round(sorted_preds_2[0][1]*100, 1))+"%"))
260
 
261
- st.success("Great! ExtraOver successfully predicted. ", icon="βœ…")
262
 
263
 
264
 
@@ -308,8 +308,8 @@ if submitted:
308
  color="black"
309
  ),
310
  autosize=False,
311
- width=800,
312
- height=800,
313
  xaxis_title="Likelihood of Conversion_factor",
314
  yaxis_title="Conversion_factor",
315
  # legend_title="Topics"
@@ -328,4 +328,4 @@ if submitted:
328
  Prediction_confidence_3 = st.metric("Prediction confidence",
329
  (str(round(sorted_preds_3[0][1] * 100, 1)) + "%"))
330
 
331
- st.success("Great! Conversion_factor successfully predicted. ", icon="βœ…")
 
171
  color="black"
172
  ),
173
  autosize=False,
174
+ width=500,
175
+ height=1000,
176
  xaxis_title="Likelihood of SubCatName",
177
  yaxis_title="SubCatNames",
178
  # legend_title="Topics"
 
190
  predicted_1 = st.metric("Predicted SubCatName", sorted_preds_1[0][0])
191
  Prediction_confidence_1 = st.metric("Prediction confidence", (str(round(sorted_preds_1[0][1]*100, 1))+"%"))
192
 
193
+ #st.success("Great! SubCatName successfully predicted. ", icon="βœ…")
194
 
195
 
196
  # Second prediction
 
239
  color="black"
240
  ),
241
  autosize=False,
242
+ width=500,
243
  height=200,
244
  xaxis_title="Likelihood of ExtraOver",
245
  yaxis_title="ExtraOver",
 
258
  predicted_2 = st.metric("Predicted ExtraOver", sorted_preds_2[0][0])
259
  Prediction_confidence_2 = st.metric("Prediction confidence", (str(round(sorted_preds_2[0][1]*100, 1))+"%"))
260
 
261
+ #st.success("Great! ExtraOver successfully predicted. ", icon="βœ…")
262
 
263
 
264
 
 
308
  color="black"
309
  ),
310
  autosize=False,
311
+ width=500,
312
+ height=500,
313
  xaxis_title="Likelihood of Conversion_factor",
314
  yaxis_title="Conversion_factor",
315
  # legend_title="Topics"
 
328
  Prediction_confidence_3 = st.metric("Prediction confidence",
329
  (str(round(sorted_preds_3[0][1] * 100, 1)) + "%"))
330
 
331
+ #st.success("Great! Conversion_factor successfully predicted. ", icon="βœ…")