Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|