Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ for dirname, _, filenames in os.walk('/kaggle/input'):
|
|
9 |
|
10 |
from fastai.vision.all import *
|
11 |
import gradio as gr
|
12 |
-
|
13 |
learn = load_learner('model.pkl')
|
14 |
|
15 |
categories = ('Dog', 'Cat')
|
@@ -22,4 +22,4 @@ image = "image"
|
|
22 |
label = "label"
|
23 |
|
24 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label)
|
25 |
-
intf.launch(inline=False)
|
|
|
9 |
|
10 |
from fastai.vision.all import *
|
11 |
import gradio as gr
|
12 |
+
share = True
|
13 |
learn = load_learner('model.pkl')
|
14 |
|
15 |
categories = ('Dog', 'Cat')
|
|
|
22 |
label = "label"
|
23 |
|
24 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label)
|
25 |
+
intf.launch(inline=False, share = True)
|