Update app.py
Browse files
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
|
62 |
-
output_scores = output
|
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
|