akdeniz27 commited on
Commit
4419326
·
1 Parent(s): 0383b1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,8 +58,8 @@ hypothesis_template = "Bu yazı {} konusundadır."
58
  Run_Button = st.button("Run", key=None)
59
  if Run_Button == True:
60
  output = runModel(model_name, sequence_to_classify, candidate_labels, hypothesis_template)
61
- output_labels = output["labels"]
62
- output_scores = output["scores"]
63
 
64
  st.header("Result")
65
  import plotly.graph_objects as go
 
58
  Run_Button = st.button("Run", key=None)
59
  if Run_Button == True:
60
  output = runModel(model_name, sequence_to_classify, candidate_labels, hypothesis_template)
61
+ output_labels = list(output.keys())
62
+ output_scores = list(output.values())
63
 
64
  st.header("Result")
65
  import plotly.graph_objects as go