Kazel commited on
Commit
5e6f79d
·
verified ·
1 Parent(s): 5b84e6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 question")
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)