Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
# demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
# demo.launch()
|
| 8 |
|
| 9 |
-
__all__=['is_cat','learn','
|
| 10 |
|
| 11 |
from fastai.vision.all import *
|
| 12 |
import gradio as gr
|
|
@@ -25,4 +25,4 @@ label=gr.Label()
|
|
| 25 |
examples=['dog.jpg','cat.jpg']
|
| 26 |
|
| 27 |
intf=gr.Interface(fn=classify_images,inputs=image,outputs=label,examples=examples)
|
| 28 |
-
intf.launch(inline=
|
|
|
|
| 6 |
# demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
# demo.launch()
|
| 8 |
|
| 9 |
+
__all__=['is_cat','learn','classify_images','categories','image','label','examples','intf']
|
| 10 |
|
| 11 |
from fastai.vision.all import *
|
| 12 |
import gradio as gr
|
|
|
|
| 25 |
examples=['dog.jpg','cat.jpg']
|
| 26 |
|
| 27 |
intf=gr.Interface(fn=classify_images,inputs=image,outputs=label,examples=examples)
|
| 28 |
+
intf.launch(inline=False)
|