KAHRAMAN42 commited on
Commit
e7072bd
·
verified ·
1 Parent(s): c1d0035

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -5,14 +5,9 @@ import os
5
  import gradio as gr
6
 
7
 
8
- __file__= "HUGGINGFACE _MODELS_AND_SPACES"
9
- current_dırectory= os.path.dirname(os.path.abspath(__file__))
10
- folder= os.path.join(current_dırectory,"Cattle_Detection_with_YOLOV8")
11
- pt= os.path.join(folder, "best.pt")
12
- py= os.path.join(folder, "Detection_Video.py")
13
- rqrmt= os.path.join(folder, "requirements.txt")
14
- example_video= os.path.join(folder, "cows-and-cows-and-cows.mp4")
15
- output_video= os.path.join(folder, "output_video.mp4")
16
 
17
  def fonk(video_path):
18
 
 
5
  import gradio as gr
6
 
7
 
8
+ pt= "best.pt"
9
+ example_video = "cows-and-cows-and-cows.mp4"
10
+ output_video = "output_video.mp4"
 
 
 
 
 
11
 
12
  def fonk(video_path):
13