gowtham58 commited on
Commit
2b069b5
·
verified ·
1 Parent(s): 3129282

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  from fastai.vision.all import *
2
  import torch
3
  import gradio as gr
 
1
+ import pathlib
2
+ import platform
3
+ plt = platform.system()
4
+ if plt == 'Linux':
5
+ pathlib.WindowsPath = pathlib.PosixPath
6
  from fastai.vision.all import *
7
  import torch
8
  import gradio as gr