Update app.py
Browse files
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.
|
| 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 |
|