Spaces:
Sleeping
Sleeping
Mehmet Batuhan Duman
commited on
Commit
·
1f00d4e
1
Parent(s):
a12be6f
Changes
Browse files
app.py
CHANGED
@@ -123,7 +123,7 @@ def scanmap(image_np, model):
|
|
123 |
return probabilities_map
|
124 |
|
125 |
def gradio_process_image(input_image):
|
126 |
-
original, heatmap, elapsed_time = process_image(input_image)
|
127 |
return original, heatmap, f"Elapsed Time (seconds): {elapsed_time}"
|
128 |
|
129 |
inputs = gr.Image(label="Upload Image")
|
|
|
123 |
return probabilities_map
|
124 |
|
125 |
def gradio_process_image(input_image):
|
126 |
+
original, heatmap, elapsed_time = process_image(input_image.read())
|
127 |
return original, heatmap, f"Elapsed Time (seconds): {elapsed_time}"
|
128 |
|
129 |
inputs = gr.Image(label="Upload Image")
|