Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -378,6 +378,9 @@ def process_and_analyze(image):
|
|
| 378 |
# Create Gradio interface
|
| 379 |
def create_interface():
|
| 380 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
| 381 |
gr.Markdown("# Image Anomaly-Surprise Detection")
|
| 382 |
gr.Markdown(
|
| 383 |
"This project offers a tool that identifies surprising elements in images, "
|
|
@@ -419,6 +422,7 @@ def create_interface():
|
|
| 419 |
|
| 420 |
|
| 421 |
|
|
|
|
| 422 |
if __name__ == "__main__":
|
| 423 |
demo = create_interface()
|
| 424 |
demo.launch()
|
|
|
|
| 378 |
# Create Gradio interface
|
| 379 |
def create_interface():
|
| 380 |
with gr.Blocks() as demo:
|
| 381 |
+
# Add the icon above the title
|
| 382 |
+
gr.HTML('<img src="appendix/icon.webp" width="100" alt="Icon">')
|
| 383 |
+
|
| 384 |
gr.Markdown("# Image Anomaly-Surprise Detection")
|
| 385 |
gr.Markdown(
|
| 386 |
"This project offers a tool that identifies surprising elements in images, "
|
|
|
|
| 422 |
|
| 423 |
|
| 424 |
|
| 425 |
+
|
| 426 |
if __name__ == "__main__":
|
| 427 |
demo = create_interface()
|
| 428 |
demo.launch()
|