Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ processor = AutoImageProcessor.from_pretrained(MODEL_NAME)
|
|
| 18 |
# Set up the Groq API key (replace with your actual key or use an environment variable)
|
| 19 |
#GROQ_API_KEY = os.getenv("GROQ_API_KEY", "Enter Key Here")
|
| 20 |
#client = Groq(api_key=GROQ_API_KEY)
|
| 21 |
-
client = Groq(api_key=
|
| 22 |
|
| 23 |
# Initialize session state for disease details
|
| 24 |
if "disease_name" not in st.session_state:
|
|
|
|
| 18 |
# Set up the Groq API key (replace with your actual key or use an environment variable)
|
| 19 |
#GROQ_API_KEY = os.getenv("GROQ_API_KEY", "Enter Key Here")
|
| 20 |
#client = Groq(api_key=GROQ_API_KEY)
|
| 21 |
+
client = Groq(api_key=os.environ.get("GROQ_API_KEY"))
|
| 22 |
|
| 23 |
# Initialize session state for disease details
|
| 24 |
if "disease_name" not in st.session_state:
|