Spaces:
Runtime error
Runtime error
yangfang236 commited on
Commit ·
d16cec2
1
Parent(s): 2db15d7
import load_learner
Browse files- app.py +1 -1
- requirements.txt +1 -0
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
|
| 3 |
|
| 4 |
# %% Untitled.ipynb 3
|
| 5 |
def predict(img):
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
from fastai.learner import load_learner
|
| 3 |
|
| 4 |
# %% Untitled.ipynb 3
|
| 5 |
def predict(img):
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
fastai
|
| 2 |
torch
|
| 3 |
numpy
|
|
|
|
| 1 |
+
fastbook
|
| 2 |
fastai
|
| 3 |
torch
|
| 4 |
numpy
|