Spaces:
Sleeping
Sleeping
Kvikontent
commited on
Commit
•
e779eca
1
Parent(s):
e05edf7
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
from transformers import AutoTokenizer, FalconModel
|
3 |
import torch
|
4 |
|
5 |
-
device = "
|
6 |
tokenizer = AutoTokenizer.from_pretrained("Rocketknight1/falcon-rw-1b")
|
7 |
model = FalconModel.from_pretrained("Rocketknight1/falcon-rw-1b")
|
8 |
|
|
|
2 |
from transformers import AutoTokenizer, FalconModel
|
3 |
import torch
|
4 |
|
5 |
+
device = "cpu"
|
6 |
tokenizer = AutoTokenizer.from_pretrained("Rocketknight1/falcon-rw-1b")
|
7 |
model = FalconModel.from_pretrained("Rocketknight1/falcon-rw-1b")
|
8 |
|