Spaces:
Paused
Paused
Commit
·
aadd294
1
Parent(s):
d6d4d85
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,10 @@
|
|
| 2 |
|
| 3 |
__all__ = ['is_cat', 'learn', 'classify_image', 'categories', 'image', 'label', 'examples', 'intf']
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
# Cell
|
| 6 |
from fastai.vision.all import *
|
| 7 |
import gradio as gr
|
|
|
|
| 2 |
|
| 3 |
__all__ = ['is_cat', 'learn', 'classify_image', 'categories', 'image', 'label', 'examples', 'intf']
|
| 4 |
|
| 5 |
+
import pathlib
|
| 6 |
+
plt = platform.system()
|
| 7 |
+
if plt == 'Windows': pathlib.PosixPath = pathlib.WindowsPath
|
| 8 |
+
|
| 9 |
# Cell
|
| 10 |
from fastai.vision.all import *
|
| 11 |
import gradio as gr
|