Spaces:
Runtime error
Runtime error
Back to production
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ class Zabanshenas:
|
|
22 |
model_name_or_path: str = "m3hrdadfi/zabanshenas-roberta-base-mix",
|
23 |
by_gpu: bool = False
|
24 |
) -> None:
|
25 |
-
self.debug =
|
26 |
self.dummy_outputs = dummy_outputs
|
27 |
self.device = torch.device("cpu" if not by_gpu else "cuda")
|
28 |
self.model_name_or_path = model_name_or_path
|
|
|
22 |
model_name_or_path: str = "m3hrdadfi/zabanshenas-roberta-base-mix",
|
23 |
by_gpu: bool = False
|
24 |
) -> None:
|
25 |
+
self.debug = False
|
26 |
self.dummy_outputs = dummy_outputs
|
27 |
self.device = torch.device("cpu" if not by_gpu else "cuda")
|
28 |
self.model_name_or_path = model_name_or_path
|