Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,13 +8,6 @@ from huggingface_hub import HfApi
|
|
| 8 |
import pandas as pd
|
| 9 |
#from transformers import pipeline
|
| 10 |
|
| 11 |
-
|
| 12 |
-
import torch
|
| 13 |
-
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
| 14 |
-
# True
|
| 15 |
-
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
| 16 |
-
# Tesla T4
|
| 17 |
-
|
| 18 |
load_dotenv()
|
| 19 |
|
| 20 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
|
|
|
| 8 |
import pandas as pd
|
| 9 |
#from transformers import pipeline
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
load_dotenv()
|
| 12 |
|
| 13 |
HF_TOKEN = os.getenv("HF_TOKEN")
|