Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,6 @@ import numpy as np
|
|
5 |
import os
|
6 |
import requests
|
7 |
import torch
|
8 |
-
import datetime
|
9 |
-
import subprocess
|
10 |
-
import spaces # Ensure this import is correct and the module is available
|
11 |
|
12 |
# Ensure the model file is in the correct location
|
13 |
model_path = "yolov8x-doclaynet-epoch64-imgsz640-initiallr1e-4-finallr1e-5.pt"
|
|
|
5 |
import os
|
6 |
import requests
|
7 |
import torch
|
|
|
|
|
|
|
8 |
|
9 |
# Ensure the model file is in the correct location
|
10 |
model_path = "yolov8x-doclaynet-epoch64-imgsz640-initiallr1e-4-finallr1e-5.pt"
|