Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ example = [
|
|
| 12 |
["def count_words(filename):", 40, 0.6, 42]]
|
| 13 |
|
| 14 |
token = os.environ["HUB_TOKEN"]
|
| 15 |
-
device="
|
| 16 |
revision = "dedup-alt"
|
| 17 |
|
| 18 |
tokenizer = AutoTokenizer.from_pretrained("bigcode/christmas-models", use_auth_token=token)
|
|
|
|
| 12 |
["def count_words(filename):", 40, 0.6, 42]]
|
| 13 |
|
| 14 |
token = os.environ["HUB_TOKEN"]
|
| 15 |
+
device="cuda:0"
|
| 16 |
revision = "dedup-alt"
|
| 17 |
|
| 18 |
tokenizer = AutoTokenizer.from_pretrained("bigcode/christmas-models", use_auth_token=token)
|