Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def inference(input_image):
|
|
52 |
|
53 |
# Read the categories
|
54 |
categories = {
|
55 |
-
0:"
|
56 |
1:"Monet",
|
57 |
2:"Leonardo da Vinci",
|
58 |
3:"Rembrandt",
|
@@ -71,7 +71,7 @@ inputs = gr.Image(type='pil',label='Insert the image')
|
|
71 |
outputs = gr.Label(type="confidences",num_top_classes=5,label='Prediction')
|
72 |
|
73 |
title = "Artist Classifier"
|
74 |
-
description = "The classifier is a demo classifier to predict the painter using fine-tuned VGG16. Transfer learning is adopted that significantly reduces the time/resource cost. It allows you to identify the creator of a painting among
|
75 |
|
76 |
article = """
|
77 |
<p style='text-align: left'><a href='https://huggingface.co/spaces/breynolds1247/StarryNight_StyleTransfer'>Style Transfer: Create your own stylish paintings </a></p>
|
|
|
52 |
|
53 |
# Read the categories
|
54 |
categories = {
|
55 |
+
0:"Vincent van Gogh",
|
56 |
1:"Monet",
|
57 |
2:"Leonardo da Vinci",
|
58 |
3:"Rembrandt",
|
|
|
71 |
outputs = gr.Label(type="confidences",num_top_classes=5,label='Prediction')
|
72 |
|
73 |
title = "Artist Classifier"
|
74 |
+
description = "The classifier is a demo classifier to predict the painter using fine-tuned VGG16. Transfer learning is adopted that significantly reduces the time/resource cost. It allows you to identify the creator of a painting among Vincent van Gogh, Claude Monet, Leonardo da Vinci, Rembrandt, Pablo Picasso, and Salvador Dali. Just upload the image to the left blank box and click the Submit button. A list of confidence will be displayed. Following the link below to find a related work that helps to create your own paintings following the style of painters"
|
75 |
|
76 |
article = """
|
77 |
<p style='text-align: left'><a href='https://huggingface.co/spaces/breynolds1247/StarryNight_StyleTransfer'>Style Transfer: Create your own stylish paintings </a></p>
|