Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +10 -2
requirements.txt
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
|
|
| 1 |
solara==1.31.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
pandas
|
| 3 |
transformers[torch]
|
| 4 |
-
|
| 5 |
-
|
|
|
|
| 1 |
+
# --- UI stack (events work) ---
|
| 2 |
solara==1.31.0
|
| 3 |
+
reacton==1.28.1
|
| 4 |
+
|
| 5 |
+
# --- Plotly stack compatible with Solara (no anywidget needed) ---
|
| 6 |
+
plotly==5.24.1
|
| 7 |
+
ipywidgets>=8.1.2,<9
|
| 8 |
+
|
| 9 |
+
# --- Your deps ---
|
| 10 |
pandas
|
| 11 |
transformers[torch]
|
| 12 |
+
# CPU wheel for torch on Spaces:
|
| 13 |
+
torch==2.3.1+cpu --index-url https://download.pytorch.org/whl/cpu
|