Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def load_model_and_tokenizer(model_name):
|
|
59 |
return tokenizer, model, torch.device(device_type)
|
60 |
|
61 |
# Load model and tokenizer using the cached function
|
62 |
-
MODEL_NAME = "dejanseo/ai-detection-
|
63 |
try:
|
64 |
tokenizer, model, device = load_model_and_tokenizer(MODEL_NAME)
|
65 |
except Exception as e:
|
|
|
59 |
return tokenizer, model, torch.device(device_type)
|
60 |
|
61 |
# Load model and tokenizer using the cached function
|
62 |
+
MODEL_NAME = "dejanseo/ai-detection-small"
|
63 |
try:
|
64 |
tokenizer, model, device = load_model_and_tokenizer(MODEL_NAME)
|
65 |
except Exception as e:
|