Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -159,6 +159,7 @@ if __name__ == "__main__":
|
|
159 |
default_model = str(args.model)
|
160 |
model_loc = Path(default_model) # if the model is a path, use it
|
161 |
basic_sc = args.basic_sc # whether to use the baseline spellchecker
|
|
|
162 |
device = 0 if torch.cuda.is_available() else -1
|
163 |
print(f"CUDA avail is {torch.cuda.is_available()}")
|
164 |
|
|
|
159 |
default_model = str(args.model)
|
160 |
model_loc = Path(default_model) # if the model is a path, use it
|
161 |
basic_sc = args.basic_sc # whether to use the baseline spellchecker
|
162 |
+
basic_sc = True # TODO: remove once neuspell fixed
|
163 |
device = 0 if torch.cuda.is_available() else -1
|
164 |
print(f"CUDA avail is {torch.cuda.is_available()}")
|
165 |
|