Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
know-one-1
commited on
Commit
•
68aa139
1
Parent(s):
03d9113
layout change
Browse files- .gitignore +3 -0
- app.py +2 -2
.gitignore
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
/kornia/*
|
2 |
+
kornia/*
|
3 |
+
kornia
|
app.py
CHANGED
@@ -117,10 +117,10 @@ with gr.Blocks() as demo:
|
|
117 |
)
|
118 |
Button = gr.Button("Detect")
|
119 |
|
120 |
-
radio.change(fn=change_kernel, inputs=radio, outputs=kernel)
|
121 |
radio.change(fn=change_order, inputs=radio, outputs=order)
|
122 |
radio.change(fn=change_button, inputs=radio, outputs=Button)
|
123 |
-
gr.Examples(examples)
|
124 |
|
125 |
|
126 |
demo.launch()
|
|
|
117 |
)
|
118 |
Button = gr.Button("Detect")
|
119 |
|
120 |
+
radio.change(fn=change_kernel, inputs=radio, outputs= kernel)
|
121 |
radio.change(fn=change_order, inputs=radio, outputs=order)
|
122 |
radio.change(fn=change_button, inputs=radio, outputs=Button)
|
123 |
+
gr.Examples(examples, inputs=[image_input])
|
124 |
|
125 |
|
126 |
demo.launch()
|