Baskar2005
commited on
Commit
•
c683a2c
1
Parent(s):
39a0017
Update app.py
Browse files
app.py
CHANGED
@@ -16,9 +16,9 @@ logging.basicConfig(level=logging.INFO)
|
|
16 |
class DiseaseDetectionApp:
|
17 |
def __init__(self):
|
18 |
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
|
23 |
self.class_names = [
|
24 |
"Normal",
|
|
|
16 |
class DiseaseDetectionApp:
|
17 |
def __init__(self):
|
18 |
|
19 |
+
api_key=os.getenv['AZURE_OPENAI_API_KEY']
|
20 |
+
endpoint=os.getenv['AZURE_OPENAI_ENDPOINT']
|
21 |
+
api_version=os.getenv['OPENAI_API_VERSION']
|
22 |
|
23 |
self.class_names = [
|
24 |
"Normal",
|