Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ def respond(api_key: str, image: np.ndarray, prompt: str, chat_history):
|
|
101 |
with gr.Blocks(theme=gr.themes.Default(primary_hue="pink", secondary_hue="pink")) as demo:
|
102 |
gr.Markdown(MARKDOWN)
|
103 |
with gr.Row():
|
104 |
-
|
105 |
with gr.Column():
|
106 |
api_key_textbox = gr.Textbox(
|
107 |
label="OpenAI API KEY", type="password")
|
|
|
101 |
with gr.Blocks(theme=gr.themes.Default(primary_hue="pink", secondary_hue="pink")) as demo:
|
102 |
gr.Markdown(MARKDOWN)
|
103 |
with gr.Row():
|
104 |
+
webcam = gr.Webcam(label="Webcam", source="webcam", streaming=True)
|
105 |
with gr.Column():
|
106 |
api_key_textbox = gr.Textbox(
|
107 |
label="OpenAI API KEY", type="password")
|