Spaces:
Sleeping
Sleeping
KuangDW
commited on
Commit
·
a042d39
1
Parent(s):
0fbaf56
update before pull
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
|
62 |
print(f"Using device: {device}")
|
63 |
# Load models once
|
64 |
print("Loading models...")
|
65 |
-
model_id = "
|
66 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
67 |
model = AutoModelForCausalLM.from_pretrained(
|
68 |
model_id,
|
|
|
62 |
print(f"Using device: {device}")
|
63 |
# Load models once
|
64 |
print("Loading models...")
|
65 |
+
model_id = "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
|
66 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
67 |
model = AutoModelForCausalLM.from_pretrained(
|
68 |
model_id,
|
vecalign/temp/65502efad46a4837abe2e688201972fd_src.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
珍珠奶茶,這款源自台灣的獨特飲品,不僅在台灣本地深受喜愛,更以其獨特的風味和口感,在全球掀起了一股熱潮,成為了一種跨越文化、風靡全球的時尚飲品。
|