mgbam commited on
Commit
4d04338
·
verified ·
1 Parent(s): 4494ca7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -57,13 +57,6 @@ def main():
57
  This demonstration shows:
58
  1. **PubMed RAG**: Retrieve abstracts, summarize, and feed them into an LLM.
59
  2. **Image Captioning**: Upload an image for analysis using a known stable model.
60
- 3. **Separation of Concerns**: Each pipeline is in its own module.
61
-
62
- **Note**: If you previously encountered KeyError: 'idefics3', it's because the
63
- `SmolVLM-500M-Instruct` model was incompatible with your Transformers version.
64
- Here, we use a supported model such as `nlpconnect/vit-gpt2-image-captioning`.
65
-
66
- **Disclaimer**: This is a prototype, not medical advice.
67
  """)
68
 
69
  # Section A: Image Upload / Caption
 
57
  This demonstration shows:
58
  1. **PubMed RAG**: Retrieve abstracts, summarize, and feed them into an LLM.
59
  2. **Image Captioning**: Upload an image for analysis using a known stable model.
 
 
 
 
 
 
 
60
  """)
61
 
62
  # Section A: Image Upload / Caption