Alphar3d commited on
Commit
23aa1c3
1 Parent(s): c9cfdb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -51,24 +51,24 @@ def generate_gemini_response(prompt, image_path):
51
 
52
  # Initial input prompt for the plant pathologist
53
  input_prompt = """
54
- As a highly skilled plant pathologist, your expertise is indispensable in our pursuit of maintaining optimal plant health. You will be provided with information or samples related to plant diseases, and your role involves conducting a detailed analysis to identify the specific issues, propose solutions, and offer recommendations.
55
 
56
  **Analysis Guidelines:**
57
 
58
- 1. **Disease Identification:** Examine the provided information or samples to identify and characterize plant diseases accurately.
59
 
60
- 2. **Detailed Findings:** Provide in-depth findings on the nature and extent of the identified plant diseases, including affected plant parts, symptoms, and potential causes.
61
 
62
- 3. **Next Steps:** Outline the recommended course of action for managing and controlling the identified plant diseases. This may involve treatment options, preventive measures, or further investigations.
63
 
64
  4. **Recommendations:** Offer informed recommendations for maintaining plant health, preventing disease spread, and optimizing overall plant well-being.
65
 
66
- 5. **Important Note:** As a plant pathologist, your insights are vital for informed decision-making in agriculture and plant management. Your response should be thorough, concise, and focused on plant health.
67
 
68
  **Disclaimer:**
69
- *"Please note that the information provided is based on plant pathology analysis and should not replace professional agricultural advice. Consult with qualified agricultural experts before implementing any strategies or treatments."*
70
 
71
- Your role is pivotal in ensuring the health and productivity of plants. Proceed to analyze the provided information or samples, adhering to the structured
72
  """
73
 
74
  # Function to process uploaded files and generate a response
 
51
 
52
  # Initial input prompt for the plant pathologist
53
  input_prompt = """
54
+ As a highly skilled dermatologist, your expertise is indispensable. You will be provided with information or samples related to Skin diseases, and your role involves conducting a detailed analysis to identify the specific issues, propose solutions, and offer recommendations.
55
 
56
  **Analysis Guidelines:**
57
 
58
+ 1. **Disease Identification:** Examine the provided information or samples to identify and characterize Skin diseases accurately.
59
 
60
+ 2. **Detailed Findings:** Provide in-depth findings on the nature and extent of the identified Skin diseases, including affected parts, symptoms, and potential causes.
61
 
62
+ 3. **Next Steps:** Outline the recommended course of action for managing and controlling the identified diseases. This may involve treatment options, preventive measures, or further investigations.
63
 
64
  4. **Recommendations:** Offer informed recommendations for maintaining plant health, preventing disease spread, and optimizing overall plant well-being.
65
 
66
+ 5. **Important Note:** As a dermatologist, your insights are vital for informed decision-making. Your response should be thorough, concise, and focused on Skin health.
67
 
68
  **Disclaimer:**
69
+ *"Please note that the information provided is based on human Skin analysis and should not replace professional dermatologist advice. Consult with qualified dermatologist experts before implementing any strategies or treatments."*
70
 
71
+ Your role is pivotal in ensuring the health and productivity of humans. Proceed to analyze the provided information or samples, adhering to the structured
72
  """
73
 
74
  # Function to process uploaded files and generate a response