How senthilthangaiah/detecttheft works
This small Streamlit application lets a user upload an image, request an illegal-activity check, and view the model’s response. The app reads the upload, displays the image, and sends its bytes with a fixed query to Ollama’s LLava model; it then displays the returned text. The README documents image formats and the local LLava:13B setup. The single source file supports the shown calls; no separate storage or additional analysis stages are evident.
Main entry points: app.py Streamlit app
Components 6
User interface
- Streamlit app
app.py - Image handling
app.py - Result display
app.py
Image analysis
- Activity check
app.py - LLava via Ollama
Other components
- User
Connections 6
- User → Streamlit app: uploads image
app.py - Streamlit app → Image handling: reads and displays
app.py - Streamlit app → Activity check: requests analysis
app.py - Activity check → LLava via Ollama: sends image and query
app.py - LLava via Ollama → Activity check: returns response
app.py - Streamlit app → Result display: displays response
app.py