Update app.py
Browse files
app.py
CHANGED
|
@@ -16,8 +16,6 @@ model = AutoModelForImageClassification.from_pretrained(MODEL_NAME).to(DEVICE)
|
|
| 16 |
processor = AutoImageProcessor.from_pretrained(MODEL_NAME)
|
| 17 |
|
| 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
|
|
|
|
| 16 |
processor = AutoImageProcessor.from_pretrained(MODEL_NAME)
|
| 17 |
|
| 18 |
# Set up the Groq API key (replace with your actual key or use an environment variable)
|
|
|
|
|
|
|
| 19 |
client = Groq(api_key=os.environ.get("GROQ_API_KEY"))
|
| 20 |
|
| 21 |
# Initialize session state for disease details
|