Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ import numpy as np
|
|
| 14 |
|
| 15 |
# Globals
|
| 16 |
paused = False
|
| 17 |
-
frame_rate = 0.5
|
| 18 |
frame_count = 0
|
| 19 |
log_entries = []
|
| 20 |
crack_counts = []
|
|
@@ -117,7 +117,7 @@ with gr.Blocks() as app:
|
|
| 117 |
pie_output = gr.Image(label="Crack Severity")
|
| 118 |
|
| 119 |
with gr.Row():
|
| 120 |
-
map_output = gr.
|
| 121 |
captured_images = gr.Gallery(label="Detected Cracks (Last 100+)", columns=4, rows=25)
|
| 122 |
|
| 123 |
with gr.Row():
|
|
|
|
| 14 |
|
| 15 |
# Globals
|
| 16 |
paused = False
|
| 17 |
+
frame_rate = 0.5 # You can adjust the frame rate if the video is too fast
|
| 18 |
frame_count = 0
|
| 19 |
log_entries = []
|
| 20 |
crack_counts = []
|
|
|
|
| 117 |
pie_output = gr.Image(label="Crack Severity")
|
| 118 |
|
| 119 |
with gr.Row():
|
| 120 |
+
map_output = gr.HTML(label="Crack Locations Map") # Using HTML to display the map
|
| 121 |
captured_images = gr.Gallery(label="Detected Cracks (Last 100+)", columns=4, rows=25)
|
| 122 |
|
| 123 |
with gr.Row():
|