Spaces:
Runtime error
Runtime error
Nifdi Guliyev
commited on
Commit
·
3de01a5
1
Parent(s):
6d3a7eb
message
Browse files- app.py +4 -0
- train.ipynb +0 -0
app.py
CHANGED
|
@@ -7,6 +7,10 @@ from fastai.vision.all import *
|
|
| 7 |
import gradio as gr
|
| 8 |
import timm
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# Cell
|
| 11 |
learn = load_learner('model.pkl')
|
| 12 |
|
|
|
|
| 7 |
import gradio as gr
|
| 8 |
import timm
|
| 9 |
|
| 10 |
+
import pathlib
|
| 11 |
+
plt = platform.system()
|
| 12 |
+
if plt == 'Windows': pathlib.WindowsPath = pathlib.PosixPath
|
| 13 |
+
|
| 14 |
# Cell
|
| 15 |
learn = load_learner('model.pkl')
|
| 16 |
|
train.ipynb
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|