Spaces:
Runtime error
Runtime error
Jeff Parks
commited on
Commit
·
8e5e1d4
1
Parent(s):
9fdc9ee
removed theme
Browse files
app.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
import gradio as gr
|
2 |
-
import gr.themes.*
|
3 |
|
4 |
# import model for gradio
|
5 |
learn_gradio = load_learner('image_classifier_flowers.pkl')
|
@@ -14,7 +13,6 @@ def predict(img):
|
|
14 |
|
15 |
# build gradio interface
|
16 |
gradio_interface = gr.Interface(
|
17 |
-
theme=gr.themes.Soft(),
|
18 |
title = "Flower Image Classifier",
|
19 |
description = "A simple classifier for the 102-category <a href='https://www.robots.ox.ac.uk/~vgg/data/flowers/' target='new'>Flower Dataset</a>",
|
20 |
fn=predict,
|
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
# import model for gradio
|
4 |
learn_gradio = load_learner('image_classifier_flowers.pkl')
|
|
|
13 |
|
14 |
# build gradio interface
|
15 |
gradio_interface = gr.Interface(
|
|
|
16 |
title = "Flower Image Classifier",
|
17 |
description = "A simple classifier for the 102-category <a href='https://www.robots.ox.ac.uk/~vgg/data/flowers/' target='new'>Flower Dataset</a>",
|
18 |
fn=predict,
|