Spaces:
Paused
Paused
franciszzj
commited on
Commit
•
f6ccb67
1
Parent(s):
01b1b55
fix app
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ if __name__ == "__main__":
|
|
112 |
|
113 |
# Launch a gr.Interface
|
114 |
gr_demo = gr.Interface(fn=demo,
|
115 |
-
inputs=gr.Image(
|
116 |
type="filepath",
|
117 |
label="Input Image",
|
118 |
width=768,
|
|
|
112 |
|
113 |
# Launch a gr.Interface
|
114 |
gr_demo = gr.Interface(fn=demo,
|
115 |
+
inputs=gr.Image(sources=["upload", "webcam", "clipboard"],
|
116 |
type="filepath",
|
117 |
label="Input Image",
|
118 |
width=768,
|
demo.py
CHANGED
@@ -112,7 +112,7 @@ if __name__ == "__main__":
|
|
112 |
|
113 |
# Launch a gr.Interface
|
114 |
gr_demo = gr.Interface(fn=demo,
|
115 |
-
inputs=gr.Image(
|
116 |
type="filepath",
|
117 |
label="Input Image",
|
118 |
width=768,
|
|
|
112 |
|
113 |
# Launch a gr.Interface
|
114 |
gr_demo = gr.Interface(fn=demo,
|
115 |
+
inputs=gr.Image(sources=["upload", "webcam", "clipboard"],
|
116 |
type="filepath",
|
117 |
label="Input Image",
|
118 |
width=768,
|