PhoenixBomb commited on
Commit
63ef33f
·
verified ·
1 Parent(s): e711fd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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 environment variables
43
- api_key = st.secrets["AIzaSyBKkDeuMYrYSvwiRX4eyqJ8Vy8xfVwPfGQ"]
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: