demo 1
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ with gr.Blocks():
|
|
17 |
btngpu = gr.Button(value="gpu");
|
18 |
btngpun = gr.Button(value="ngpu");
|
19 |
|
20 |
-
|
21 |
btngpun.click(nogpu, None, [outnpu]);
|
22 |
|
23 |
|
|
|
17 |
btngpu = gr.Button(value="gpu");
|
18 |
btngpun = gr.Button(value="ngpu");
|
19 |
|
20 |
+
btngpu.click(gpu, None, [outgpu]);
|
21 |
btngpun.click(nogpu, None, [outnpu]);
|
22 |
|
23 |
|