mrmarvelous commited on
Commit
32de55a
1 Parent(s): 542068d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -59,11 +59,11 @@ def generate_gemini_response(input_prompt,text_input, image_loc):
59
 
60
  #input_prompt = """ This image shows a person with an injury or the visible symptoms on the body. Please analyze the image and the prompted message and identify the possible injury. Based on your analysis, suggest appropriate first aid measures that can be taken to address the injury. """
61
 
62
- input_prompt = """ This image shows a person with an injury or visible symptoms on the body.
63
- Please analyze the image along with the prompted message and identify the possible injury.
64
- Based on your analysis, suggest appropriate first aid measures that can be taken to address the injury.
65
  And also provides useful website links (Indian links only) which are valid and existing
66
- and which can give more information regarding the first aid for the injury and also
67
  Ensure the target website links are publicly accessible and not blocked by firewalls or login requirements.
68
  And also provide contact information of the helpline for the next steps. And constrain the response to India.
69
  The prompted message is """
 
59
 
60
  #input_prompt = """ This image shows a person with an injury or the visible symptoms on the body. Please analyze the image and the prompted message and identify the possible injury. Based on your analysis, suggest appropriate first aid measures that can be taken to address the injury. """
61
 
62
+ input_prompt = """ This image shows a person's X ray image with Cancer or without it.
63
+ Please analyze the image along with the prompted message and identify if the person has cancer or not.
64
+ Based on your analysis, if cancer is found, suggest appropriate measures that can be taken to address the disease.
65
  And also provides useful website links (Indian links only) which are valid and existing
66
+ and which can give more information regarding cancer for the injury and also
67
  Ensure the target website links are publicly accessible and not blocked by firewalls or login requirements.
68
  And also provide contact information of the helpline for the next steps. And constrain the response to India.
69
  The prompted message is """