Spaces:
Sleeping
Sleeping
Commit
·
c4545af
1
Parent(s):
0600bf3
Update app.py
Browse files
app.py
CHANGED
@@ -52,11 +52,13 @@ outputs = gr.outputs.HTML()
|
|
52 |
|
53 |
title = "<h1 style='text-align: center;'>Image Classifier</h1>"
|
54 |
description = "Upload an image and get the predicted class."
|
|
|
55 |
|
56 |
gr.Interface(fn=classify_image,
|
57 |
inputs=inputs,
|
58 |
outputs=outputs,
|
59 |
title=title,
|
60 |
examples=["00_plane.jpg", "01_car.jpg", "02_bird.jpg", "03_cat.jpg", "04_deer.jpg"],
|
61 |
-
css=
|
62 |
-
|
|
|
|
52 |
|
53 |
title = "<h1 style='text-align: center;'>Image Classifier</h1>"
|
54 |
description = "Upload an image and get the predicted class."
|
55 |
+
css_code='body{background-image:url("file=wave.mp4");}'
|
56 |
|
57 |
gr.Interface(fn=classify_image,
|
58 |
inputs=inputs,
|
59 |
outputs=outputs,
|
60 |
title=title,
|
61 |
examples=["00_plane.jpg", "01_car.jpg", "02_bird.jpg", "03_cat.jpg", "04_deer.jpg"],
|
62 |
+
css=css_code,
|
63 |
+
"textbox",
|
64 |
+
description=description).launch(debug=True)
|