Spaces:
Runtime error
Runtime error
Remove article link
Browse files
app.py
CHANGED
@@ -14,7 +14,6 @@ def predict(img):
|
|
14 |
|
15 |
title = "Architecture Classifier"
|
16 |
description = "An architecture classifier trained on DuckDuckGo images.... Created as a demo for Gradio and HuggingFace Spaces."
|
17 |
-
article = "<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
18 |
examples = ['images/baroche.jpg', 'images/byzantin.jpg', 'images/modern.jpg']
|
19 |
interpretation = 'default'
|
20 |
enable_queue = True
|
@@ -24,7 +23,6 @@ gr.Interface(fn=predict,
|
|
24 |
outputs=gr.outputs.Label(num_top_classes=3),
|
25 |
title=title,
|
26 |
description=description,
|
27 |
-
article=article,
|
28 |
examples=examples,
|
29 |
interpretation=interpretation,
|
30 |
enable_queue=enable_queue).launch()
|
|
|
14 |
|
15 |
title = "Architecture Classifier"
|
16 |
description = "An architecture classifier trained on DuckDuckGo images.... Created as a demo for Gradio and HuggingFace Spaces."
|
|
|
17 |
examples = ['images/baroche.jpg', 'images/byzantin.jpg', 'images/modern.jpg']
|
18 |
interpretation = 'default'
|
19 |
enable_queue = True
|
|
|
23 |
outputs=gr.outputs.Label(num_top_classes=3),
|
24 |
title=title,
|
25 |
description=description,
|
|
|
26 |
examples=examples,
|
27 |
interpretation=interpretation,
|
28 |
enable_queue=enable_queue).launch()
|