Spaces:
Sleeping
Sleeping
Commit ·
338f5d3
1
Parent(s): bd722ed
developed
Browse files
server.py
CHANGED
|
@@ -23,7 +23,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
| 23 |
torch_dtype=torch.float32,
|
| 24 |
# use_auth_token=token
|
| 25 |
)
|
| 26 |
-
|
| 27 |
model.eval()
|
| 28 |
|
| 29 |
if hasattr(model, "config"):
|
|
|
|
| 23 |
torch_dtype=torch.float32,
|
| 24 |
# use_auth_token=token
|
| 25 |
)
|
| 26 |
+
|
| 27 |
model.eval()
|
| 28 |
|
| 29 |
if hasattr(model, "config"):
|