bushra1dajam commited on
Commit
58a23b9
1 Parent(s): 9341e2f

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