Spaces:
Build error
Build error
add `requirements.txt`
Browse files- app.py +1 -0
- requirements.txt +5 -0
app.py
CHANGED
|
@@ -3,6 +3,7 @@
|
|
| 3 |
__all__ = ['learn', 'classify_image', 'categories', 'image', 'label', 'examples', 'intf']
|
| 4 |
|
| 5 |
import gradio as gr
|
|
|
|
| 6 |
|
| 7 |
# Some magic according to https://forums.fast.ai/t/lesson-2-official-topic/96033/376?page=17
|
| 8 |
def is_happy(x):
|
|
|
|
| 3 |
__all__ = ['learn', 'classify_image', 'categories', 'image', 'label', 'examples', 'intf']
|
| 4 |
|
| 5 |
import gradio as gr
|
| 6 |
+
from fastai.vision.all import *
|
| 7 |
|
| 8 |
# Some magic according to https://forums.fast.ai/t/lesson-2-official-topic/96033/376?page=17
|
| 9 |
def is_happy(x):
|
requirements.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fastai
|
| 2 |
+
gradio
|
| 3 |
+
timm
|
| 4 |
+
torch
|
| 5 |
+
torchvision
|