moldenhof commited on
Commit
7cfdbf2
·
1 Parent(s): 5417a1b

test with menu

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -56,12 +56,12 @@ model_dict = {
56
  }
57
 
58
  model_file = model_dict[selected_model]
59
- model_path = os.path.join(datapath, model_file)
60
 
61
- if model_path.endswith("320).pt"):
62
- image_resolution = 320
63
- else:
64
- image_resolution = 520
65
 
66
 
67
  #page_names_to_funcs[selected_page](n_objects, model_path)
 
56
  }
57
 
58
  model_file = model_dict[selected_model]
59
+ #model_path = os.path.join(datapath, model_file)
60
 
61
+ #if model_path.endswith("320).pt"):
62
+ # image_resolution = 320
63
+ #else:
64
+ # image_resolution = 520
65
 
66
 
67
  #page_names_to_funcs[selected_page](n_objects, model_path)