Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,16 +84,11 @@ st.markdown("""
|
|
| 84 |
st.title("Drug Trial Analysis Between Covaxine and Covishiled")
|
| 85 |
total_participants = st.number_input("Total Participants For Covaxine:", min_value=100, max_value=10000, value=1000)
|
| 86 |
total_participants_1 = st.number_input("Total Participants For Covishield:", min_value=100, max_value=1000, value=1000)
|
| 87 |
-
# Input for side effects
|
| 88 |
side_effects_drug_1 = st.number_input("Number of Side Effects in Covaxine:", min_value=0, max_value=10000, value=100)
|
| 89 |
side_effects_drug_2 = st.number_input("Number of Side Effects in Covishield:", min_value=0, max_value=10000, value=20)
|
| 90 |
-
|
| 91 |
-
# Calculate probabilities
|
| 92 |
p_side_effects_drug_1 = (side_effects_drug_1 / total_participants)*100
|
| 93 |
p_side_effects_drug_2 = (side_effects_drug_2 / total_participants_1)*100
|
| 94 |
-
|
| 95 |
-
# Display results
|
| 96 |
st.subheader("Results:")
|
| 97 |
-
st.write(f"Probability of Side Effects in
|
| 98 |
-
st.write(f"Probability of Side Effects in
|
| 99 |
|
|
|
|
| 84 |
st.title("Drug Trial Analysis Between Covaxine and Covishiled")
|
| 85 |
total_participants = st.number_input("Total Participants For Covaxine:", min_value=100, max_value=10000, value=1000)
|
| 86 |
total_participants_1 = st.number_input("Total Participants For Covishield:", min_value=100, max_value=1000, value=1000)
|
|
|
|
| 87 |
side_effects_drug_1 = st.number_input("Number of Side Effects in Covaxine:", min_value=0, max_value=10000, value=100)
|
| 88 |
side_effects_drug_2 = st.number_input("Number of Side Effects in Covishield:", min_value=0, max_value=10000, value=20)
|
|
|
|
|
|
|
| 89 |
p_side_effects_drug_1 = (side_effects_drug_1 / total_participants)*100
|
| 90 |
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 |
|