Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -126,7 +126,7 @@ def inference(video, step_number, selected_reason):
|
|
| 126 |
with gr.Blocks() as demo:
|
| 127 |
with gr.Row():
|
| 128 |
with gr.Column():
|
| 129 |
-
video = gr.Video(label="Video Input", sources=["upload"]
|
| 130 |
step_number = gr.Dropdown(choices=[f"Step {i}" for i in range(1, 9)], label="Manufacturing Step", value="Step 1")
|
| 131 |
reason = gr.Dropdown(choices=DELAY_REASONS["step1"]["reasons"], label="Possible Delay Reason", value=DELAY_REASONS["step1"]["reasons"][0])
|
| 132 |
analyze_btn = gr.Button("Analyze Delay", variant="primary")
|
|
|
|
| 126 |
with gr.Blocks() as demo:
|
| 127 |
with gr.Row():
|
| 128 |
with gr.Column():
|
| 129 |
+
video = gr.Video(label="Video Input", sources=["upload"])
|
| 130 |
step_number = gr.Dropdown(choices=[f"Step {i}" for i in range(1, 9)], label="Manufacturing Step", value="Step 1")
|
| 131 |
reason = gr.Dropdown(choices=DELAY_REASONS["step1"]["reasons"], label="Possible Delay Reason", value=DELAY_REASONS["step1"]["reasons"][0])
|
| 132 |
analyze_btn = gr.Button("Analyze Delay", variant="primary")
|