GerryRaz commited on
Commit
48788e5
·
verified ·
1 Parent(s): 4641fa2
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ densenet121, transforms = model.create_densenet_model(num_classes=2)
12
 
13
 
14
  state_dict = torch.load(
15
- f="/content/dense_90_tiny_lung_classifier_model.pth",
16
  map_location="cpu",
17
  weights_only=False
18
  )
@@ -39,7 +39,7 @@ def predict(img):
39
  return pred_labels_and_probs, pred_time
40
 
41
 
42
- example_list = '/content/examples' # The path to your directory
43
 
44
  import gradio as gr
45
 
 
12
 
13
 
14
  state_dict = torch.load(
15
+ f="dense_90_tiny_lung_classifier_model.pth",
16
  map_location="cpu",
17
  weights_only=False
18
  )
 
39
  return pred_labels_and_probs, pred_time
40
 
41
 
42
+ example_list = 'examples' # The path to your directory
43
 
44
  import gradio as gr
45