Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def Prediction_VGG16(image):
|
|
34 |
|
35 |
return {k:v for k,v in zip(classes,prediction)}
|
36 |
|
37 |
-
css_code = 'body{background-image:url("https://picsum.photos/
|
38 |
|
39 |
thumbnail = "https://github.com/gradio-app/hub-openpose/blob/master/screenshot.png?raw=true"
|
40 |
demo = gr.Interface(Prediction_VGG16, gr.inputs.Image(shape=(224,224)),gr.Label(num_top_classes=2),css= css_code ,theme="dark-peach",thumbnail =thumbnail )
|
|
|
34 |
|
35 |
return {k:v for k,v in zip(classes,prediction)}
|
36 |
|
37 |
+
css_code = 'body{background-image:url("https://i.picsum.photos/id/102/4320/3240");}'
|
38 |
|
39 |
thumbnail = "https://github.com/gradio-app/hub-openpose/blob/master/screenshot.png?raw=true"
|
40 |
demo = gr.Interface(Prediction_VGG16, gr.inputs.Image(shape=(224,224)),gr.Label(num_top_classes=2),css= css_code ,theme="dark-peach",thumbnail =thumbnail )
|