sree4411 commited on
Commit
ca0d8d9
ยท
verified ยท
1 Parent(s): 3dd4a9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ title = st.text_input("๐Ÿ“Œ Enter Question Title")
20
  description = st.text_area("๐Ÿ“ Enter Question Description", height=150)
21
 
22
  # --- Prediction Logic ---
23
- def predict_tags_auto(title, description, threshold=0.3):
24
  input_text = title + " " + description
25
  input_vector = vectorizer.transform([input_text])
26
 
 
20
  description = st.text_area("๐Ÿ“ Enter Question Description", height=150)
21
 
22
  # --- Prediction Logic ---
23
+ def predict_tags_auto(title, description, threshold=0.2):
24
  input_text = title + " " + description
25
  input_vector = vectorizer.transform([input_text])
26