Spaces:
Build error
Build error
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -8,16 +8,6 @@ Original file is located at
|
|
| 8 |
"""
|
| 9 |
|
| 10 |
|
| 11 |
-
!pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121
|
| 12 |
-
|
| 13 |
-
!pip install -U "transformers==4.40.0"
|
| 14 |
-
|
| 15 |
-
!pip install --upgrade bitsandbytes
|
| 16 |
-
|
| 17 |
-
!pip install --upgrade accelerate
|
| 18 |
-
|
| 19 |
-
!pip install gradio
|
| 20 |
-
|
| 21 |
import transformers
|
| 22 |
import torch
|
| 23 |
|
|
|
|
| 8 |
"""
|
| 9 |
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
import transformers
|
| 12 |
import torch
|
| 13 |
|