jaifar530
commited on
fix progress bar
Browse files
app.py
CHANGED
@@ -138,5 +138,5 @@ if press_me_button:
|
|
138 |
# Create a progress bar and a bar chart for each LLM
|
139 |
for llm, prob in prob_dict.items():
|
140 |
st.write(llm)
|
141 |
-
st.progress(float(prob.strip('%')))
|
142 |
st.bar_chart(prob_dict)
|
|
|
138 |
# Create a progress bar and a bar chart for each LLM
|
139 |
for llm, prob in prob_dict.items():
|
140 |
st.write(llm)
|
141 |
+
st.progress(float(prob.strip('%'))/100)
|
142 |
st.bar_chart(prob_dict)
|