Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import streamlit as st
|
|
| 2 |
import pandas as pd
|
| 3 |
import numpy as np
|
| 4 |
import matplotlib.pyplot as plt
|
|
|
|
| 5 |
st.markdown("""
|
| 6 |
<style>
|
| 7 |
/* Set a soft background color */
|
|
@@ -105,13 +106,7 @@ st.markdown("""A random experiment is also an experiment bt in order to become a
|
|
| 105 |
<li>We cannot predict what will be the outcome of the experiment.</li>
|
| 106 |
</ul>
|
| 107 |
""",unsafe_allow_html=True)
|
| 108 |
-
|
| 109 |
-
import random
|
| 110 |
-
|
| 111 |
-
# Title for the Streamlit app
|
| 112 |
-
st.title("Random Experiment: Coin Toss")
|
| 113 |
-
|
| 114 |
-
# Description
|
| 115 |
st.write("""
|
| 116 |
This simple experiment simulates a random prediction will it rain or not. Each time you click the button you will get a random result that it will rain or not.
|
| 117 |
""")
|
|
|
|
| 2 |
import pandas as pd
|
| 3 |
import numpy as np
|
| 4 |
import matplotlib.pyplot as plt
|
| 5 |
+
import random
|
| 6 |
st.markdown("""
|
| 7 |
<style>
|
| 8 |
/* Set a soft background color */
|
|
|
|
| 106 |
<li>We cannot predict what will be the outcome of the experiment.</li>
|
| 107 |
</ul>
|
| 108 |
""",unsafe_allow_html=True)
|
| 109 |
+
st.title("Random Experiment:Will it rain or not")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
st.write("""
|
| 111 |
This simple experiment simulates a random prediction will it rain or not. Each time you click the button you will get a random result that it will rain or not.
|
| 112 |
""")
|