Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ def encode_image(image):
|
|
| 54 |
def analyze_leaf_disease(image):
|
| 55 |
"""Analyze leaf image using Claude API"""
|
| 56 |
# Hugging Face will require you to add API key as an environment variable
|
| 57 |
-
api_key = os.getenv("sk-ant-api03-
|
| 58 |
|
| 59 |
if not api_key:
|
| 60 |
st.error("API Key not configured. Please set up Anthropic API key.")
|
|
|
|
| 54 |
def analyze_leaf_disease(image):
|
| 55 |
"""Analyze leaf image using Claude API"""
|
| 56 |
# Hugging Face will require you to add API key as an environment variable
|
| 57 |
+
api_key = os.getenv("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")
|
| 58 |
|
| 59 |
if not api_key:
|
| 60 |
st.error("API Key not configured. Please set up Anthropic API key.")
|