Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import subprocess
|
2 |
import sys
|
3 |
|
4 |
-
|
5 |
-
|
6 |
__all__ =['is_cat','learn','classify_image','categories','image','label','examples','InFace']
|
7 |
from fastai.vision.all import *
|
8 |
import gradio as gr
|
|
|
1 |
import subprocess
|
2 |
import sys
|
3 |
|
4 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install", "fastai"])
|
5 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install", "gradio"])
|
6 |
__all__ =['is_cat','learn','classify_image','categories','image','label','examples','InFace']
|
7 |
from fastai.vision.all import *
|
8 |
import gradio as gr
|