bushra1dajam commited on
Commit
9341e2f
1 Parent(s): 65763c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def classification_page():
28
  # Use the model pipeline to predict the category
29
  numeric_prediction = model_pipeline.predict([article])[0]
30
  category_prediction = category_mapping.get(numeric_prediction, "Unknown")
31
- st.write(f"**{category_prediction}** الصنف المتوقع : ")
32
  else:
33
  st.error("Please enter an article to classify.")
34
 
 
28
  # Use the model pipeline to predict the category
29
  numeric_prediction = model_pipeline.predict([article])[0]
30
  category_prediction = category_mapping.get(numeric_prediction, "Unknown")
31
+ st.write(f"التصنف المتوقع : *{category_prediction}* ")
32
  else:
33
  st.error("Please enter an article to classify.")
34