Simba
commited on
Commit
·
41ef24e
1
Parent(s):
2874322
WIP
Browse files
app.py
CHANGED
@@ -39,7 +39,8 @@ def respond(image: np.ndarray, prompt: str, chat_history):
|
|
39 |
with gr.Blocks() as demo:
|
40 |
gr.Markdown(MARKDOWN)
|
41 |
with gr.Row():
|
42 |
-
webcam = gr.Image(source="webcam", streaming=True)
|
|
|
43 |
with gr.Column():
|
44 |
chatbot = gr.Chatbot(height=500)
|
45 |
message = gr.Textbox()
|
|
|
39 |
with gr.Blocks() as demo:
|
40 |
gr.Markdown(MARKDOWN)
|
41 |
with gr.Row():
|
42 |
+
# webcam = gr.Image(source="webcam", streaming=True)
|
43 |
+
webcam = gr.Webcam(mirror_webcam=True, streaming=True)
|
44 |
with gr.Column():
|
45 |
chatbot = gr.Chatbot(height=500)
|
46 |
message = gr.Textbox()
|