vscode commited on
Commit
2cb5dda
·
verified ·
1 Parent(s): 6dd1b9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,7 +22,8 @@ model = load_model(MODEL_PATH, compile=False)
22
  class_names = open("s3/labels.txt", "r").readlines()
23
 
24
  # Medication suggestions
25
- medications = "1 LUMPY SKIN": "Tips for Lumpy Skin Disease (LSD):"
 
26
  "Isolation: Immediately isolate affected animals to prevent the spread of the disease to other livestock."
27
  "Hygiene: Maintain a clean environment by disinfecting animal housing, feeding equipment, and water troughs regularly."
28
  "Supportive Care: Ensure animals are well-fed with a nutritious diet to strengthen their immune systems. Providing fresh, clean water is essential."
@@ -59,7 +60,6 @@ medications = "1 LUMPY SKIN": "Tips for Lumpy Skin Disease (LSD):"
59
  "Hydration: Ensure access to fresh, clean water."
60
  "Monitor: Watch for early signs and isolate any affected animals."
61
  }
62
-
63
  # Groq API initialization from .env
64
  API_KEY = os.getenv("GROQ_API_KEY")
65
  if not API_KEY:
 
22
  class_names = open("s3/labels.txt", "r").readlines()
23
 
24
  # Medication suggestions
25
+ medications = {
26
+ "1 LUMPY SKIN": "Tips for Lumpy Skin Disease (LSD):"
27
  "Isolation: Immediately isolate affected animals to prevent the spread of the disease to other livestock."
28
  "Hygiene: Maintain a clean environment by disinfecting animal housing, feeding equipment, and water troughs regularly."
29
  "Supportive Care: Ensure animals are well-fed with a nutritious diet to strengthen their immune systems. Providing fresh, clean water is essential."
 
60
  "Hydration: Ensure access to fresh, clean water."
61
  "Monitor: Watch for early signs and isolate any affected animals."
62
  }
 
63
  # Groq API initialization from .env
64
  API_KEY = os.getenv("GROQ_API_KEY")
65
  if not API_KEY: