Spaces:
Sleeping
Sleeping
Felipe Meres
commited on
Commit
·
da1ba7e
1
Parent(s):
63cf06b
Force Streamlit rebuild: Add config and documentation
Browse files- Add .streamlit/config.toml to force Streamlit recognition
- Add clear Streamlit documentation to README
- Force HF Spaces to recognize SDK change from Gradio to Streamlit
- Configure proper Streamlit server settings
- .streamlit/config.toml +6 -0
- README.md +13 -1
.streamlit/config.toml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[server]
|
| 2 |
+
headless = true
|
| 3 |
+
port = 7860
|
| 4 |
+
|
| 5 |
+
[browser]
|
| 6 |
+
gatherUsageStats = false
|
README.md
CHANGED
|
@@ -60,4 +60,16 @@ Upload any document or image to see Florence-2 in action:
|
|
| 60 |
- **Documents**: Analyze layouts, detect text regions, identify tables
|
| 61 |
- **Photos**: Object detection, scene understanding, detailed captions
|
| 62 |
- **Screenshots**: UI element detection, text extraction
|
| 63 |
-
- **Technical diagrams**: Component identification and labeling
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
- **Documents**: Analyze layouts, detect text regions, identify tables
|
| 61 |
- **Photos**: Object detection, scene understanding, detailed captions
|
| 62 |
- **Screenshots**: UI element detection, text extraction
|
| 63 |
+
- **Technical diagrams**: Component identification and labeling
|
| 64 |
+
# Florence-2 Document & Image Analyzer
|
| 65 |
+
|
| 66 |
+
This Space uses Streamlit to provide an interactive interface for Microsoft's Florence-2 vision model.
|
| 67 |
+
|
| 68 |
+
## Features
|
| 69 |
+
- Object Detection with bounding boxes
|
| 70 |
+
- Detailed image captioning
|
| 71 |
+
- OCR text extraction
|
| 72 |
+
- Interactive Streamlit interface
|
| 73 |
+
- Model caching for performance
|
| 74 |
+
|
| 75 |
+
Upload an image and select an analysis type to get started!
|