aakash0563 commited on
Commit
80c487d
·
1 Parent(s): 06aad00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -20
app.py CHANGED
@@ -76,26 +76,26 @@ iface2 = gr.Interface(
76
 
77
 
78
 
79
- def check_boxes(checkbox_values):
80
- if checkbox_values == "iface1":
81
- return iface1.launch(debug=True, share=True)
82
- else:
83
- return iface1.launch(debug=True, share=True)
84
-
85
- checkboxes = [
86
- gr.Checkbox(label="iface1"),
87
- gr.Checkbox(label="iface2"),
88
- ]
89
-
90
- iface = gr.Interface(
91
- check_boxes,
92
- inputs=checkboxes,
93
- outputs="text",
94
- title="Checkbox Demo",
95
- description="Select one or both checkboxes.",
96
- )
97
-
98
- iface.launch(debug=True, share=True)
99
 
100
 
101
 
 
76
 
77
 
78
 
79
+ # def check_boxes(checkbox_values):
80
+ # if checkbox_values == "iface1":
81
+ # return iface1.launch(debug=True, share=True)
82
+ # else:
83
+ # return iface1.launch(debug=True, share=True)
84
+
85
+ # checkboxes = [
86
+ # gr.Checkbox(label="iface1"),
87
+ # gr.Checkbox(label="iface2"),
88
+ # ]
89
+
90
+ # iface = gr.Interface(
91
+ # check_boxes,
92
+ # inputs=checkboxes,
93
+ # outputs="text",
94
+ # title="Checkbox Demo",
95
+ # description="Select one or both checkboxes.",
96
+ # )
97
+
98
+ iface1.launch(debug=True, share=True)
99
 
100
 
101