Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
|
3 |
# Create a Streamlit app
|
4 |
st.title("AI Symptom Checker")
|
@@ -39,8 +40,8 @@ def check_symptoms(symptoms, api_key):
|
|
39 |
response_list = process_response(results)
|
40 |
return response_list
|
41 |
|
42 |
-
# Get the API key from the
|
43 |
-
api_key = st.secrets["
|
44 |
|
45 |
# Call the main function when the button is clicked
|
46 |
if submit_button:
|
|
|
1 |
import streamlit as st
|
2 |
+
from googleapiclient.discovery import build
|
3 |
|
4 |
# Create a Streamlit app
|
5 |
st.title("AI Symptom Checker")
|
|
|
40 |
response_list = process_response(results)
|
41 |
return response_list
|
42 |
|
43 |
+
# Get the API key from the secrets file
|
44 |
+
api_key = st.secrets["GEMINI_API_KEY"]
|
45 |
|
46 |
# Call the main function when the button is clicked
|
47 |
if submit_button:
|