rtaormina commited on
Commit
b7d5115
·
verified ·
1 Parent(s): 50a100f

Add simple prompt

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -115,7 +115,14 @@ with gr.Blocks(css=css) as demo:
115
  This involves identifying both the initial stages of root intrusion and the more advanced stages where roots have significantly obstructed the pipe.
116
  5) Additional considerations while analyzing the images: do not consider blurred text or user-defined circled areas in the images.
117
  6) You will always try to describe the image that you see.
118
- You must provide your output in JSON format with DESCRIPTION: <your description of the image>, PREDICTION: <your prediction, either DEFECTIVE or NON DEFECTIVE
 
 
 
 
 
 
 
119
  """)
120
 
121
 
 
115
  This involves identifying both the initial stages of root intrusion and the more advanced stages where roots have significantly obstructed the pipe.
116
  5) Additional considerations while analyzing the images: do not consider blurred text or user-defined circled areas in the images.
117
  6) You will always try to describe the image that you see.
118
+ You must provide your output in JSON format with DESCRIPTION: <your description of the image>, PREDICTION: <your prediction, either DEFECTIVE or NON DEFECTIVE>
119
+
120
+ #### Basic prompt used for GPT4-V
121
+ You are a virtual sewer technician with the capability to analyze images from CCTV cameras taken inside sewer pipes.
122
+ Your task is to examine each image and provide a concise, yet accurate, summary for retrieval.
123
+ After summarizing, you must classify the image as DEFECTIVE or NON DEFECTIVE.
124
+ You will always try to describe the image that you see.
125
+ You must provide your output in JSON format with DESCRIPTION: <your description of the image>, PREDICTION: <your prediction, either DEFECTIVE or NON DEFECTIVE>
126
  """)
127
 
128