luigi12345 commited on
Commit
f2390b5
·
verified ·
1 Parent(s): d6e21f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -9
app.py CHANGED
@@ -188,10 +188,6 @@ with gr.Blocks() as demo:
188
  examples_inpainting = gr.Examples(
189
  label="Multimodal Understanding examples",
190
  examples=[
191
- [
192
- "explain this meme",
193
- "doge.png",
194
- ],
195
  [
196
  """Analyze the provided fundus image in exhaustive detail, following the standard ophthalmological protocol for fundus examination. Output an HTML report structured as a formal medical document. The report MUST:
197
 
@@ -241,9 +237,7 @@ with gr.Blocks() as demo:
241
  8. **Disclaimer:** Include a disclaimer stating that the report is based on image analysis alone and does not replace a full clinical examination.
242
 
243
  9. **HTML Structure:** Use semantic HTML elements (h1-h3, p, ol, ul, table, div) to create a well-structured, readable report. Include:
244
- * A report header with a title ("EyeUnit.ai | AI for Ophthalmology") and a logo placeholder.
245
- * An image comparison section displaying the original fundus image and a placeholder for a heatmap (a canvas element with id "heatmapCanvas"). No actual heatmap generation is required; the canvas is a placeholder.
246
- * A placeholder for patient information(PATIENT ID, NAME, AGE, DATE OF EXAM)
247
  * Clearly labeled sections for each part of the analysis.
248
  * Tables for the "Overall Analysis Coverage" and "AI-Driven Attention Metrics."
249
 
@@ -252,8 +246,7 @@ with gr.Blocks() as demo:
252
  * **PATIENT ID, NAME, AGE and DATE OF EXAM**
253
 
254
  11. **Crucial Details:** Output ONLY the complete HTML code. Do not provide any surrounding text or explanations. Focus solely on generating the HTML report.
255
- 12. **IMG SOURCE:** Use this image as the image source: `<img src="https://i.imgur.com/kZ35oQV.jpg" alt="Original Fundus
256
- """ , "equation.png",
257
  ],
258
  ],
259
  inputs=[question_input, image_input],
 
188
  examples_inpainting = gr.Examples(
189
  label="Multimodal Understanding examples",
190
  examples=[
 
 
 
 
191
  [
192
  """Analyze the provided fundus image in exhaustive detail, following the standard ophthalmological protocol for fundus examination. Output an HTML report structured as a formal medical document. The report MUST:
193
 
 
237
  8. **Disclaimer:** Include a disclaimer stating that the report is based on image analysis alone and does not replace a full clinical examination.
238
 
239
  9. **HTML Structure:** Use semantic HTML elements (h1-h3, p, ol, ul, table, div) to create a well-structured, readable report. Include:
240
+ * A report header with a title ("EyeUnit.ai | AI for Ophthalmology") and a logo
 
 
241
  * Clearly labeled sections for each part of the analysis.
242
  * Tables for the "Overall Analysis Coverage" and "AI-Driven Attention Metrics."
243
 
 
246
  * **PATIENT ID, NAME, AGE and DATE OF EXAM**
247
 
248
  11. **Crucial Details:** Output ONLY the complete HTML code. Do not provide any surrounding text or explanations. Focus solely on generating the HTML report.
249
+ """ , "fundus.png",
 
250
  ],
251
  ],
252
  inputs=[question_input, image_input],