vluz commited on
Commit
c4f0f79
1 Parent(s): 0342af9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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])