Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ if st.button("Test"):
|
|
31 |
st.write("⚠ Warning: Empty prompt.")
|
32 |
elif len(input_text) < 15:
|
33 |
st.write("⚠ Warning: Model is far less accurate with a small prompt.")
|
34 |
-
if input_text == default_prompt:
|
35 |
st.write("Expected results from default prompt are positive for 0 and 2")
|
36 |
with st.spinner("Testing..."):
|
37 |
inputv = vectorizer([input_text])
|
|
|
31 |
st.write("⚠ Warning: Empty prompt.")
|
32 |
elif len(input_text) < 15:
|
33 |
st.write("⚠ Warning: Model is far less accurate with a small prompt.")
|
34 |
+
if input_text == default_prompt.lower():
|
35 |
st.write("Expected results from default prompt are positive for 0 and 2")
|
36 |
with st.spinner("Testing..."):
|
37 |
inputv = vectorizer([input_text])
|