Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def predict(image: Image.Image):
|
|
12 |
animation.visible = False # Hide the animation
|
13 |
return result, f"Confidence: {confidence:.2f}%"
|
14 |
|
15 |
-
theme = gr.themes.
|
16 |
|
17 |
with gr.Interface(theme=theme) as demo:
|
18 |
# Define the Gradio interface
|
|
|
12 |
animation.visible = False # Hide the animation
|
13 |
return result, f"Confidence: {confidence:.2f}%"
|
14 |
|
15 |
+
theme = gr.themes.Soft()
|
16 |
|
17 |
with gr.Interface(theme=theme) as demo:
|
18 |
# Define the Gradio interface
|