Spaces:
Running
Running
import errors
Browse files
app.py
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
|
|
|
|
|
|
3 |
|
4 |
# Load a pre-trained image classification model
|
5 |
learn = load_learner('models/model.pth')
|
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
3 |
+
import fastbook
|
4 |
+
fastbook.setup_book()
|
5 |
+
from fastai.vision.all import *
|
6 |
|
7 |
# Load a pre-trained image classification model
|
8 |
learn = load_learner('models/model.pth')
|