JamanKH commited on
Commit
5bd4e37
·
1 Parent(s): 7396d0a
Files changed (1) hide show
  1. rep.py +3 -4
rep.py CHANGED
@@ -1,5 +1,5 @@
1
  import streamlit as st
2
- import webbrowser
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 Detection")
14
 
15
  # Check if the button is pressed
16
  if button:
17
- # Open the link in a new tab
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)