Spaces:
Running
Running
Commit ·
cfc5e63
1
Parent(s): c040755
Switch to uv and pyproject.toml for dependency management
Browse filesReplaces requirements.txt. Harness installs from git via uv sources.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- README.md +2 -2
- pyproject.toml +18 -0
- requirements.txt +0 -4
- uv.lock +0 -0
README.md
CHANGED
|
@@ -29,6 +29,6 @@ E2B_API_KEY=your-e2b-api-key
|
|
| 29 |
Run locally:
|
| 30 |
|
| 31 |
```
|
| 32 |
-
|
| 33 |
-
python app.py
|
| 34 |
```
|
|
|
|
| 29 |
Run locally:
|
| 30 |
|
| 31 |
```
|
| 32 |
+
uv sync
|
| 33 |
+
uv run python app.py
|
| 34 |
```
|
pyproject.toml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[project]
|
| 2 |
+
name = "document-explorer"
|
| 3 |
+
version = "0.1.0"
|
| 4 |
+
description = "Upload documents and ask questions — powered by a-simple-llm-harness"
|
| 5 |
+
readme = "README.md"
|
| 6 |
+
authors = [
|
| 7 |
+
{ name = "chuckfinca", email = "charles@appsimple.io" }
|
| 8 |
+
]
|
| 9 |
+
requires-python = ">=3.12"
|
| 10 |
+
dependencies = [
|
| 11 |
+
"a-simple-llm-harness",
|
| 12 |
+
"e2b-code-interpreter>=2.5",
|
| 13 |
+
"gradio>=5.0",
|
| 14 |
+
"python-dotenv",
|
| 15 |
+
]
|
| 16 |
+
|
| 17 |
+
[tool.uv.sources]
|
| 18 |
+
a-simple-llm-harness = { git = "https://github.com/chuckfinca/a-simple-llm-harness.git" }
|
requirements.txt
DELETED
|
@@ -1,4 +0,0 @@
|
|
| 1 |
-
a-simple-llm-harness @ git+https://github.com/chuckfinca/a-simple-llm-harness.git
|
| 2 |
-
e2b-code-interpreter>=2.5
|
| 3 |
-
gradio>=5.0
|
| 4 |
-
python-dotenv
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
uv.lock
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|