Jainesh212 commited on
Commit
068d1f6
·
1 Parent(s): 45c2017

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -35,13 +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__":
47
  app()
 
35
  for model_name, label, score in results:
36
  st.write(f"- {model_name}: {label} ({score:.2f})")
37
 
 
 
 
 
 
 
 
38
  # Run Streamlit app
39
  if __name__ == "__main__":
40
  app()