Jainesh212 commited on
Commit
8e13357
1 Parent(s): 302c97c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -35,12 +35,6 @@ def app():
35
  for model_name, label, score in results:
36
  st.write(f"- {model_name}: {label} ({score:.2f})")
37
 
38
- # Advanced features
39
- if st.beta_expander("Advanced Options", expanded=False):
40
- model_name = st.selectbox("Select model", list(models.keys()))
41
- if st.button("Test model"):
42
- label, score = analyze_sentiment("This is a test.", model_name)
43
- st.write(f"Test result: {label} ({score:.2f})")
44
 
45
  # Run Streamlit app
46
  if __name__ == "__main__":
 
35
  for model_name, label, score in results:
36
  st.write(f"- {model_name}: {label} ({score:.2f})")
37
 
 
 
 
 
 
 
38
 
39
  # Run Streamlit app
40
  if __name__ == "__main__":