Spaces:
Sleeping
Sleeping
let's deploy to huggingface spaces
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
from fastai.vision.all import *
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
-
learn =
|
| 5 |
|
| 6 |
categories = ('Normal', 'Cancer')
|
| 7 |
|
|
|
|
| 1 |
from fastai.vision.all import *
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
+
learn = load_learner('model.pkl')
|
| 5 |
|
| 6 |
categories = ('Normal', 'Cancer')
|
| 7 |
|