Create requirements.txt
Browse filesSebelumnya:
app.py → import torch → ❌ torch belum terinstall
Sekarang:
requirements.txt → pip install torch + transformers → ✅ baru lalu app.py jalan
- requirements.txt +3 -0
requirements.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 2 |
+
torch
|
| 3 |
+
transformers
|