Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ if not torch.cuda.is_available():
|
|
27 |
|
28 |
|
29 |
if torch.cuda.is_available():
|
30 |
-
model_id = "wangzhang/ChatSDB-
|
31 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto")
|
32 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
33 |
tokenizer.use_default_system_prompt = False
|
|
|
27 |
|
28 |
|
29 |
if torch.cuda.is_available():
|
30 |
+
model_id = "wangzhang/ChatSDB-hf"
|
31 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto")
|
32 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
33 |
tokenizer.use_default_system_prompt = False
|