Spaces:
Sleeping
Sleeping
hanna-harding
commited on
Commit
·
ead0736
1
Parent(s):
db8c95d
update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,6 @@ def predict(img):
|
|
16 |
title = "Whale model"
|
17 |
description = "Demo Gradio app for a ML image classifier using fast.ai"
|
18 |
examples = ['whale.jpeg']
|
19 |
-
interpretation='default' # so users can understand what parts of the input are responsible for the output
|
20 |
-
enable_queue=True # for lots of traffic
|
21 |
|
22 |
-
app = gr.Interface(fn=predict,inputs="image",outputs="label",title=title,description=description,examples=examples
|
23 |
app.launch()
|
|
|
16 |
title = "Whale model"
|
17 |
description = "Demo Gradio app for a ML image classifier using fast.ai"
|
18 |
examples = ['whale.jpeg']
|
|
|
|
|
19 |
|
20 |
+
app = gr.Interface(fn=predict,inputs="image",outputs="label",title=title,description=description,examples=examples)
|
21 |
app.launch()
|