Aashi commited on
Commit
1543f62
1 Parent(s): a71b644

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ import pathlib
6
  import textwrap
7
  import os
8
 
9
- # secret_key =os.getenv("API_KEY")
10
- secret_key = os.userdata.get('API_KEY')
11
  genai.configure(api_key = secret_key)
12
  model = genai.GenerativeModel('gemini-pro-vision')
13
  def generate_prescription(image):
 
6
  import textwrap
7
  import os
8
 
9
+ secret_key =os.getenv("API_KEY")
10
+ # secret_key = userdata.get('API_KEY')
11
  genai.configure(api_key = secret_key)
12
  model = genai.GenerativeModel('gemini-pro-vision')
13
  def generate_prescription(image):