MeghanaM4 commited on
Commit
43fc187
·
verified ·
1 Parent(s): 6299e32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -10,9 +10,6 @@ for dirname, _, filenames in os.walk('/kaggle/input'):
10
  from fastai.vision.all import *
11
  import gradio as gr
12
 
13
- share = True
14
- def is_cat(x): return x[0].isupper()
15
-
16
  learn = load_learner('model.pkl')
17
 
18
  categories = ('Dog', 'Cat')
@@ -25,4 +22,4 @@ image = "image"
25
  label = "label"
26
 
27
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label)
28
- intf.launch(inline=False, share = True)
 
10
  from fastai.vision.all import *
11
  import gradio as gr
12
 
 
 
 
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)