Spaces:
Sleeping
Sleeping
Anthony Liang commited on
Commit ·
cde89ae
1
Parent(s): f368e2d
update
Browse files
app.py
CHANGED
|
@@ -168,6 +168,9 @@ def run_inference_via_server(
|
|
| 168 |
os.unlink(preprocessed_path)
|
| 169 |
except Exception:
|
| 170 |
pass
|
|
|
|
|
|
|
|
|
|
| 171 |
# --- Gradio UI ---
|
| 172 |
try:
|
| 173 |
demo = gr.Blocks(title="Trace Model Visualizer", theme=gr.themes.Soft())
|
|
|
|
| 168 |
os.unlink(preprocessed_path)
|
| 169 |
except Exception:
|
| 170 |
pass
|
| 171 |
+
return prediction, overlay_path, trace_points_text
|
| 172 |
+
|
| 173 |
+
|
| 174 |
# --- Gradio UI ---
|
| 175 |
try:
|
| 176 |
demo = gr.Blocks(title="Trace Model Visualizer", theme=gr.themes.Soft())
|