Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ with gui:
|
|
50 |
with gr.Row():
|
51 |
video_component = gr.Video()
|
52 |
threading.Thread(target=video_feed, daemon=True).start()
|
53 |
-
prompt = gr.Textbox(label="Enter your
|
54 |
response = gr.Textbox(label="AI Response")
|
55 |
btn = gr.Button("Ask")
|
56 |
btn.click(process_image, inputs=prompt, outputs=response)
|
|
|
50 |
with gr.Row():
|
51 |
video_component = gr.Video()
|
52 |
threading.Thread(target=video_feed, daemon=True).start()
|
53 |
+
prompt = gr.Textbox(label="Enter your safety policy for the AI to analyse each frame in real time")
|
54 |
response = gr.Textbox(label="AI Response")
|
55 |
btn = gr.Button("Ask")
|
56 |
btn.click(process_image, inputs=prompt, outputs=response)
|