Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ def main():
|
|
102 |
st.write("{}:{}".format(res, proba))
|
103 |
st.write("Confidence:{}".format(proba))
|
104 |
|
105 |
-
source = pd.DataFrame({'Proba':
|
106 |
st.write(source)
|
107 |
|
108 |
fig = alt.Chart(source).mark_bar().encode(x='Emotion',y='Proba',color='Emotion')
|
|
|
102 |
st.write("{}:{}".format(res, proba))
|
103 |
st.write("Confidence:{}".format(proba))
|
104 |
|
105 |
+
source = pd.DataFrame({'Proba': [1,2,3], 'Emotion': ['a','b','c'})
|
106 |
st.write(source)
|
107 |
|
108 |
fig = alt.Chart(source).mark_bar().encode(x='Emotion',y='Proba',color='Emotion')
|