Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ from transformers import (
|
|
3 |
BartForConditionalGeneration,
|
4 |
BartTokenizer
|
5 |
)
|
|
|
6 |
|
7 |
def get_device():
|
8 |
# If there's a GPU available...
|
|
|
3 |
BartForConditionalGeneration,
|
4 |
BartTokenizer
|
5 |
)
|
6 |
+
import torch
|
7 |
|
8 |
def get_device():
|
9 |
# If there's a GPU available...
|