Synced repo using 'sync_with_huggingface' Github Action
Browse files
app.py
CHANGED
|
@@ -67,7 +67,7 @@ args = parser.parse_args()
|
|
| 67 |
print_arguments(args)
|
| 68 |
|
| 69 |
#
|
| 70 |
-
assert os.path.exists(args.model_path), f"{args.model_path}"
|
| 71 |
#
|
| 72 |
if args.use_gpu:
|
| 73 |
model = SentenceTransformer(args.model_path, device="cuda", compute_type="float16", cache_folder=".")
|
|
|
|
| 67 |
print_arguments(args)
|
| 68 |
|
| 69 |
#
|
| 70 |
+
# assert os.path.exists(args.model_path), f"{args.model_path}"
|
| 71 |
#
|
| 72 |
if args.use_gpu:
|
| 73 |
model = SentenceTransformer(args.model_path, device="cuda", compute_type="float16", cache_folder=".")
|