Spaces:
Runtime error
Runtime error
add charts
Browse files- .ipynb_checkpoints/app-checkpoint.py +2 -5
- __pycache__/utils.cpython-38.pyc +0 -0
- app.py +2 -5
.ipynb_checkpoints/app-checkpoint.py
CHANGED
|
@@ -25,11 +25,8 @@ if st.button('Click for predictions!'):
|
|
| 25 |
color='sentiment'
|
| 26 |
)
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
fig.add_trace(pie, row=1, col=2)
|
| 31 |
-
|
| 32 |
-
st.plotly_chart(fig, use_container_width=True)
|
| 33 |
|
| 34 |
st.write("\n")
|
| 35 |
st.subheader('Or... Upload a csv file if you have a file instead.')
|
|
|
|
| 25 |
color='sentiment'
|
| 26 |
)
|
| 27 |
|
| 28 |
+
st.plotly_chart(bar, use_container_width=True)
|
| 29 |
+
st.plotly_chart(pie, use_container_width=True)
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
st.write("\n")
|
| 32 |
st.subheader('Or... Upload a csv file if you have a file instead.')
|
__pycache__/utils.cpython-38.pyc
CHANGED
|
Binary files a/__pycache__/utils.cpython-38.pyc and b/__pycache__/utils.cpython-38.pyc differ
|
|
|
app.py
CHANGED
|
@@ -25,11 +25,8 @@ if st.button('Click for predictions!'):
|
|
| 25 |
color='sentiment'
|
| 26 |
)
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
fig.add_trace(pie, row=1, col=2)
|
| 31 |
-
|
| 32 |
-
st.plotly_chart(fig, use_container_width=True)
|
| 33 |
|
| 34 |
st.write("\n")
|
| 35 |
st.subheader('Or... Upload a csv file if you have a file instead.')
|
|
|
|
| 25 |
color='sentiment'
|
| 26 |
)
|
| 27 |
|
| 28 |
+
st.plotly_chart(bar, use_container_width=True)
|
| 29 |
+
st.plotly_chart(pie, use_container_width=True)
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
st.write("\n")
|
| 32 |
st.subheader('Or... Upload a csv file if you have a file instead.')
|