Spaces:
Sleeping
Sleeping
Raumkommander
commited on
Commit
·
e1cf579
1
Parent(s):
eef4522
inital deployment1
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def video_stream(filter_type, prompt):
|
|
52 |
iface = gr.Interface(
|
53 |
fn=video_stream,
|
54 |
inputs=[
|
55 |
-
gr.Video(
|
56 |
gr.Radio(["None", "Red", "Green", "Blue"], label="Color Filter"),
|
57 |
gr.Textbox(label="Stable Diffusion Prompt", value="A futuristic landscape"),
|
58 |
],
|
|
|
52 |
iface = gr.Interface(
|
53 |
fn=video_stream,
|
54 |
inputs=[
|
55 |
+
gr.Video( streaming=True), # Use browser webcam
|
56 |
gr.Radio(["None", "Red", "Green", "Blue"], label="Color Filter"),
|
57 |
gr.Textbox(label="Stable Diffusion Prompt", value="A futuristic landscape"),
|
58 |
],
|