Spaces:
Runtime error
Runtime error
Changed the path code
Browse files
app.py
CHANGED
|
@@ -8,17 +8,11 @@ fastbook.setup_book()
|
|
| 8 |
from fastbook import *
|
| 9 |
from fastai.vision.widgets import *
|
| 10 |
|
| 11 |
-
|
| 12 |
-
# In[3]:
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
#|export
|
| 16 |
-
|
| 17 |
import gradio as gr
|
| 18 |
|
| 19 |
-
import pathlib
|
| 20 |
-
temp = pathlib.PosixPath
|
| 21 |
-
pathlib.PosixPath = pathlib.WindowsPath
|
| 22 |
|
| 23 |
def is_cat(x): return x[0].isupper() # Presquite code for the model to run
|
| 24 |
|
|
|
|
| 8 |
from fastbook import *
|
| 9 |
from fastai.vision.widgets import *
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
import gradio as gr
|
| 12 |
|
| 13 |
+
#import pathlib
|
| 14 |
+
#temp = pathlib.PosixPath
|
| 15 |
+
#pathlib.PosixPath = pathlib.WindowsPath
|
| 16 |
|
| 17 |
def is_cat(x): return x[0].isupper() # Presquite code for the model to run
|
| 18 |
|