Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def addUser():
|
|
14 |
number = st.number_input("Enter the Contact Number", step=1, min_value=1)
|
15 |
age = st.number_input("Enter Age", step=1, min_value=18)
|
16 |
gender = st.radio("Enter Gender", ('Male', 'Female'))
|
17 |
-
#Hid = st.text_input("Enter your Unique
|
18 |
#hospital=st.text_input("Enter the Hospital details")
|
19 |
|
20 |
|
@@ -26,7 +26,7 @@ def addUser():
|
|
26 |
|
27 |
|
28 |
def ViewPatientRecord():
|
29 |
-
Hid = st.text_input("Enter Unique
|
30 |
if st.button("View Records"):
|
31 |
usds = pytezos.using(shell = 'https://rpc.tzkt.io/ghostnet').contract('KT1KvCVKiZhkPG8s9CCoxW3r135phk2HhZUV')
|
32 |
#print (usds.storage())#debug
|
@@ -117,13 +117,6 @@ def main():
|
|
117 |
unsafe_allow_html=True,
|
118 |
)
|
119 |
|
120 |
-
st.markdown(
|
121 |
-
"""<h3 style='text-align: center; color: white; font-family:'Lato';font-family:Helvetica;'>
|
122 |
-
The proposed solution is going to help our nation in decreasing the crime related to the data manipulation in Medical records Vaccination for there own benefits. #VaxForAll.
|
123 |
-
</h3>""",
|
124 |
-
unsafe_allow_html=True,
|
125 |
-
)
|
126 |
-
|
127 |
st.sidebar.title("Choose your entry point")
|
128 |
st.sidebar.markdown("Select the entry point accordingly:")
|
129 |
|
|
|
14 |
number = st.number_input("Enter the Contact Number", step=1, min_value=1)
|
15 |
age = st.number_input("Enter Age", step=1, min_value=18)
|
16 |
gender = st.radio("Enter Gender", ('Male', 'Female'))
|
17 |
+
#Hid = st.text_input("Enter your Unique Hospital Id")
|
18 |
#hospital=st.text_input("Enter the Hospital details")
|
19 |
|
20 |
|
|
|
26 |
|
27 |
|
28 |
def ViewPatientRecord():
|
29 |
+
Hid = st.text_input("Enter Unique Hospital Id of Patient")
|
30 |
if st.button("View Records"):
|
31 |
usds = pytezos.using(shell = 'https://rpc.tzkt.io/ghostnet').contract('KT1KvCVKiZhkPG8s9CCoxW3r135phk2HhZUV')
|
32 |
#print (usds.storage())#debug
|
|
|
117 |
unsafe_allow_html=True,
|
118 |
)
|
119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
st.sidebar.title("Choose your entry point")
|
121 |
st.sidebar.markdown("Select the entry point accordingly:")
|
122 |
|