Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,4 +91,6 @@ p_side_effects_drug_2 = (side_effects_drug_2 / total_participants_1)*100
|
|
| 91 |
st.subheader("Results:")
|
| 92 |
st.write(f"Probability of Side Effects in Covaxine: {p_side_effects_drug_1}%")
|
| 93 |
st.write(f"Probability of Side Effects in Covishield: {p_side_effects_drug_2}%")
|
| 94 |
-
plt.
|
|
|
|
|
|
|
|
|
| 91 |
st.subheader("Results:")
|
| 92 |
st.write(f"Probability of Side Effects in Covaxine: {p_side_effects_drug_1}%")
|
| 93 |
st.write(f"Probability of Side Effects in Covishield: {p_side_effects_drug_2}%")
|
| 94 |
+
fig,axis=plt.subplots()
|
| 95 |
+
axis.pie(x=[total_participants-side_effects_drug_1,total_participants_1-side_effects_drug_2],labels=['covaxine','covishield'],autopct="%0.1f%%")
|
| 96 |
+
st.pyplot(fig)
|