osbm commited on
Commit
68cc1c8
·
verified ·
1 Parent(s): 57e3a39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ interface_image = gr.Interface(
70
 
71
  def process_slide(slide_path):
72
  if not slide_path.endswith("zip"):
73
- slide = openslide.OpenSlide(os.path.join(path, image_path))
74
  else: # mrxs slide files
75
  shutil.unpack_archive(slide_path, "cache_mrxs")
76
 
 
70
 
71
  def process_slide(slide_path):
72
  if not slide_path.endswith("zip"):
73
+ slide = openslide.OpenSlide(os.path.join(slide_path))
74
  else: # mrxs slide files
75
  shutil.unpack_archive(slide_path, "cache_mrxs")
76