Spaces:
Sleeping
Sleeping
Commit
·
d477b94
1
Parent(s):
6a55d2e
Update: interface update
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ with gr.Blocks() as interface:
|
|
51 |
gr.Markdown("Select a sample image to visualize object detection.")
|
52 |
default_sample = "Sample 1"
|
53 |
|
54 |
-
# Inject CSS with gr.HTML to set the text color to white
|
55 |
gr.HTML("""
|
56 |
<style>
|
57 |
body {
|
@@ -105,4 +105,4 @@ with gr.Blocks() as interface:
|
|
105 |
)
|
106 |
|
107 |
# Launch the interface without the `css` argument
|
108 |
-
interface.launch(share=True)
|
|
|
51 |
gr.Markdown("Select a sample image to visualize object detection.")
|
52 |
default_sample = "Sample 1"
|
53 |
|
54 |
+
# Inject CSS with gr.HTML to set the background color to black and text color to white
|
55 |
gr.HTML("""
|
56 |
<style>
|
57 |
body {
|
|
|
105 |
)
|
106 |
|
107 |
# Launch the interface without the `css` argument
|
108 |
+
interface.launch(share=True)
|