Spaces:
Runtime error
Runtime error
Maximilian Schuh commited on
Commit ·
0fdcbe8
1
Parent(s): 74d2a42
Add .env file to ignore Python version requirements and update requirements.txt
Browse files- .env +1 -0
- README.md +1 -0
- requirements.txt +1 -3
.env
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PIP_IGNORE_REQUIRES_PYTHON=1
|
README.md
CHANGED
|
@@ -42,3 +42,4 @@ Weights:
|
|
| 42 |
- Queueing is enabled with a single worker (`demo.queue(concurrency_count=1)`) to match the one-at-a-time ZeroGPU execution model.
|
| 43 |
- To avoid spending GPU time on downloads, click **Download / refresh models** once after each deployment to prefetch weights on CPU.
|
| 44 |
- If inference ever needs more time, adjust the `duration` parameter in `app.py`, but keep it as low as practical to respect ZeroGPU queue fairness.
|
|
|
|
|
|
| 42 |
- Queueing is enabled with a single worker (`demo.queue(concurrency_count=1)`) to match the one-at-a-time ZeroGPU execution model.
|
| 43 |
- To avoid spending GPU time on downloads, click **Download / refresh models** once after each deployment to prefetch weights on CPU.
|
| 44 |
- If inference ever needs more time, adjust the `duration` parameter in `app.py`, but keep it as low as practical to respect ZeroGPU queue fairness.
|
| 45 |
+
- The `.env` sets `PIP_IGNORE_REQUIRES_PYTHON=1` so the latest `twinbooster` wheel installs even if its metadata still pins Python 3.8; this is safe on Python 3.12 for the current release.
|
requirements.txt
CHANGED
|
@@ -1,6 +1,4 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
twinbooster
|
| 4 |
gradio==4.44.1
|
| 5 |
huggingface_hub>=0.22.0
|
| 6 |
pandas==2.0.3
|
|
|
|
| 1 |
+
twinbooster>=0.3.1
|
|
|
|
|
|
|
| 2 |
gradio==4.44.1
|
| 3 |
huggingface_hub>=0.22.0
|
| 4 |
pandas==2.0.3
|