ayoubsa commited on
Commit
ff8d4cb
·
verified ·
1 Parent(s): 8cb628c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
6
  # Load the YOLO model
7
  #MODEL_URL = 'https://huggingface.co/ayoubsa/yolo_model/resolve/main/best.pt'
8
  MODEL_URL = 'best.pt'
9
- model = YOLO(MODEL_URL, cache_dir="/root/.cache")
10
 
11
  # Define the prediction function for Gradio
12
  def predict(image):
 
6
  # Load the YOLO model
7
  #MODEL_URL = 'https://huggingface.co/ayoubsa/yolo_model/resolve/main/best.pt'
8
  MODEL_URL = 'best.pt'
9
+ model = YOLO(MODEL_URL)
10
 
11
  # Define the prediction function for Gradio
12
  def predict(image):