Spaces:
Build error
Build error
Commit
·
a19cca2
1
Parent(s):
18a68e7
Feat: Refined README.md file
Browse files
README.md
CHANGED
@@ -1,104 +1,12 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
2.
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
1. **Clone the repository:**
|
14 |
-
|
15 |
-
```bash
|
16 |
-
git clone https://huggingface.co/spaces/davisandshirtliff/DocMindAI
|
17 |
-
cd DocMindAI
|
18 |
-
```
|
19 |
-
|
20 |
-
2. **Create a virtual environment:**
|
21 |
-
|
22 |
-
```bash
|
23 |
-
python -m venv venv
|
24 |
-
source venv/bin/activate # On Windows, use: venv\Scripts\activate
|
25 |
-
```
|
26 |
-
|
27 |
-
3. **Install dependencies:**
|
28 |
-
|
29 |
-
```bash
|
30 |
-
pip install -r requirements.txt
|
31 |
-
```
|
32 |
-
|
33 |
-
4. **Run Ollama:**
|
34 |
-
|
35 |
-
Make sure Ollama is installed and running locally. Pull a model to use with the application:
|
36 |
-
|
37 |
-
```bash
|
38 |
-
ollama pull gemma3:1b
|
39 |
-
```
|
40 |
-
|
41 |
-
5. **Run the application:**
|
42 |
-
|
43 |
-
```bash
|
44 |
-
streamlit run app.py
|
45 |
-
```
|
46 |
-
|
47 |
-
The application will be accessible at `http://localhost:8501` in your web browser.
|
48 |
-
|
49 |
-
## Option 2: Docker Deployment
|
50 |
-
|
51 |
-
1. **Clone the repository:**
|
52 |
-
|
53 |
-
```bash
|
54 |
-
git clone https://huggingface.co/spaces/davisandshirtliff/DocMindAI
|
55 |
-
cd DocMindAI
|
56 |
-
```
|
57 |
-
|
58 |
-
2. **Run with Docker Compose:**
|
59 |
-
|
60 |
-
Make sure Ollama is running on your host machine, then:
|
61 |
-
|
62 |
-
```bash
|
63 |
-
docker-compose up --build
|
64 |
-
```
|
65 |
-
|
66 |
-
The application will be accessible at `http://localhost:8501` in your web browser.
|
67 |
-
|
68 |
-
## Usage
|
69 |
-
|
70 |
-
1. Enter your Ollama Base URL (default: `http://localhost:11434`)
|
71 |
-
2. Select an Ollama model from the dropdown
|
72 |
-
3. Upload documents for analysis
|
73 |
-
4. Choose your analysis settings:
|
74 |
-
- Select a prompt type
|
75 |
-
- Choose a tone
|
76 |
-
- Select instructions
|
77 |
-
- Set the desired length/detail
|
78 |
-
- Choose the analysis mode
|
79 |
-
5. Click "Extract and Analyze"
|
80 |
-
6. Once analysis is complete, you can chat with your documents in the chat interface
|
81 |
-
|
82 |
-
## Supported File Types
|
83 |
-
|
84 |
-
DocMind AI supports a wide range of file formats including:
|
85 |
-
- PDF
|
86 |
-
- DOCX, DOC
|
87 |
-
- TXT
|
88 |
-
- XLSX, XLS
|
89 |
-
- MD (Markdown)
|
90 |
-
- JSON
|
91 |
-
- XML
|
92 |
-
- RTF
|
93 |
-
- CSV
|
94 |
-
- MSG, EML (Email)
|
95 |
-
- PPTX, PPT (PowerPoint)
|
96 |
-
- ODT (OpenDocument Text)
|
97 |
-
- EPUB (E-book)
|
98 |
-
- Code files (PY, JS, JAVA, TS, TSX, C, CPP, H, and many more)
|
99 |
-
|
100 |
-
## Troubleshooting
|
101 |
-
|
102 |
-
- If you encounter issues connecting to Ollama, make sure it's running and the URL is correct.
|
103 |
-
- For Docker deployment, ensure that your Docker configuration allows access to the host network.
|
104 |
-
- For document processing issues, check that you have the necessary dependencies installed.
|
|
|
1 |
+
---
|
2 |
+
title: DocMindAI
|
3 |
+
emoji: 🌖
|
4 |
+
colorFrom: yellow
|
5 |
+
colorTo: pink
|
6 |
+
sdk: docker
|
7 |
+
pinned: false
|
8 |
+
license: apache-2.0
|
9 |
+
short_description: DocMindAI
|
10 |
+
---
|
11 |
+
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|