Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ model = tf.saved_model.load('model')
|
|
11 |
labels = ['cataract', 'diabetic_retinopathy', 'glaucoma', 'normal']
|
12 |
|
13 |
# Configure Gemini API
|
14 |
-
genai.configure(api_key=os.getenv("
|
15 |
|
16 |
# Generate AI-based explanation for the predicted disease
|
17 |
def get_disease_detail(disease):
|
|
|
11 |
labels = ['cataract', 'diabetic_retinopathy', 'glaucoma', 'normal']
|
12 |
|
13 |
# Configure Gemini API
|
14 |
+
genai.configure(api_key=os.getenv("AIzaSyClC-moPGp4ONPUQ0FnNjMPh035AN7oqtY"))
|
15 |
|
16 |
# Generate AI-based explanation for the predicted disease
|
17 |
def get_disease_detail(disease):
|