ins-pricing 0.4.0__py3-none-any.whl → 0.4.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ins_pricing/frontend/README.md +31 -0
- ins_pricing/frontend/app.py +915 -877
- ins_pricing/setup.py +1 -1
- {ins_pricing-0.4.0.dist-info → ins_pricing-0.4.1.dist-info}/METADATA +1 -1
- {ins_pricing-0.4.0.dist-info → ins_pricing-0.4.1.dist-info}/RECORD +7 -7
- {ins_pricing-0.4.0.dist-info → ins_pricing-0.4.1.dist-info}/WHEEL +0 -0
- {ins_pricing-0.4.0.dist-info → ins_pricing-0.4.1.dist-info}/top_level.txt +0 -0
ins_pricing/frontend/README.md
CHANGED
|
@@ -44,6 +44,37 @@ Or install from requirements file:
|
|
|
44
44
|
pip install -r ins_pricing/frontend/requirements.txt
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
+
### Recommended (Cross-Platform) Install
|
|
48
|
+
|
|
49
|
+
To avoid dependency mismatches on Linux/macOS, install the pinned frontend extras:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
pip install "ins_pricing[frontend]"
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
If installing from source:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
pip install -e ".[frontend]"
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Linux Note (gradio + huggingface_hub)
|
|
62
|
+
|
|
63
|
+
If you see `ImportError: cannot import name 'HfFolder'`, your `huggingface_hub` is too new.
|
|
64
|
+
Fix it with:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
pip install "gradio>=4,<5" "huggingface_hub<0.24"
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Apple Silicon (MPS) Note
|
|
71
|
+
|
|
72
|
+
For MPS usage, install a PyTorch build with MPS support, and optionally enable fallback:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
export PYTORCH_ENABLE_MPS_FALLBACK=1
|
|
76
|
+
```
|
|
77
|
+
|
|
47
78
|
## Launch Methods
|
|
48
79
|
|
|
49
80
|
### Method 1: Direct Run
|