raufbagharib commited on
Commit
51587e2
·
verified ·
1 Parent(s): 0076382

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -4,8 +4,6 @@ import gradio as gr
4
  from huggingface_hub import snapshot_download
5
  import os
6
 
7
- model_path = "/content/datasets/best_int8_openvino_model"
8
-
9
  def load_model(repo_id):
10
  download_dir = snapshot_download(repo_id)
11
  print(download_dir)
@@ -27,7 +25,7 @@ def predict(pilimg):
27
  return out_pilimg
28
 
29
 
30
- REPO_ID = "ITI107-2024S2/2708997C"
31
  detection_model = load_model(REPO_ID)
32
 
33
  gr.Interface(fn=predict,
 
4
  from huggingface_hub import snapshot_download
5
  import os
6
 
 
 
7
  def load_model(repo_id):
8
  download_dir = snapshot_download(repo_id)
9
  print(download_dir)
 
25
  return out_pilimg
26
 
27
 
28
+ REPO_ID = "raufbagharib/highlighters_earbuds_detection"
29
  detection_model = load_model(REPO_ID)
30
 
31
  gr.Interface(fn=predict,