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