Spaces:
Sleeping
Sleeping
NekoNeko512
commited on
Commit
·
59126a5
1
Parent(s):
2362c0e
app.py
CHANGED
@@ -4,6 +4,9 @@
|
|
4 |
__all__ = ['learner', 'classes', 'examples', 'interface', 'is_cat', 'predict']
|
5 |
|
6 |
# %% ../02x-prototype_gradio_interface.ipynb 1
|
|
|
|
|
|
|
7 |
import gradio as gr
|
8 |
from huggingface_hub import from_pretrained_fastai
|
9 |
def is_cat(x):
|
|
|
4 |
__all__ = ['learner', 'classes', 'examples', 'interface', 'is_cat', 'predict']
|
5 |
|
6 |
# %% ../02x-prototype_gradio_interface.ipynb 1
|
7 |
+
!pip install -U torchvision==0.8.1
|
8 |
+
!pip install -U fastai==2.1
|
9 |
+
!pip install -Uqq fastbook
|
10 |
import gradio as gr
|
11 |
from huggingface_hub import from_pretrained_fastai
|
12 |
def is_cat(x):
|