Spaces:
Build error
Build error
Edit 1
Browse files
rep.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
-
import
|
| 3 |
|
| 4 |
|
| 5 |
|
|
@@ -10,9 +10,8 @@ def app():
|
|
| 10 |
link = "https://huggingface.co/spaces/JamanKH/disease_prediction"
|
| 11 |
|
| 12 |
# Create a button widget
|
| 13 |
-
button = st.button("Start
|
| 14 |
|
| 15 |
# Check if the button is pressed
|
| 16 |
if button:
|
| 17 |
-
|
| 18 |
-
webbrowser.open_new_tab(link)
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
import requests
|
| 3 |
|
| 4 |
|
| 5 |
|
|
|
|
| 10 |
link = "https://huggingface.co/spaces/JamanKH/disease_prediction"
|
| 11 |
|
| 12 |
# Create a button widget
|
| 13 |
+
button = st.button("Start Symptoms Checking")
|
| 14 |
|
| 15 |
# Check if the button is pressed
|
| 16 |
if button:
|
| 17 |
+
st.markdown(link)
|
|
|