Spaces:
Sleeping
Sleeping
SMeyersMrOvkill
commited on
Commit
·
f1fc762
1
Parent(s):
f8c3ed7
reddy
Browse files
app.py
CHANGED
@@ -10,14 +10,14 @@ def code_block(txt, mdn):
|
|
10 |
stop=['###', '///', '\n\n\n\n'],
|
11 |
)['generated_text']), mdn+txt+res
|
12 |
|
13 |
-
code_input = gr.
|
14 |
-
submit_button = gr.
|
15 |
|
16 |
options = [
|
17 |
gr.outputs.Accordion([
|
18 |
-
gr.
|
19 |
-
gr.
|
20 |
-
gr.
|
21 |
], label="Options")
|
22 |
]
|
23 |
# COnvert this to gr.Blocks()
|
|
|
10 |
stop=['###', '///', '\n\n\n\n'],
|
11 |
)['generated_text']), mdn+txt+res
|
12 |
|
13 |
+
code_input = gr.Code(label="Enter your code here")
|
14 |
+
submit_button = gr.Button(label="Submit")
|
15 |
|
16 |
options = [
|
17 |
gr.outputs.Accordion([
|
18 |
+
gr.Checkbox(label="Option 1"),
|
19 |
+
gr.Checkbox(label="Option 2"),
|
20 |
+
gr.Checkbox(label="Option 3")
|
21 |
], label="Options")
|
22 |
]
|
23 |
# COnvert this to gr.Blocks()
|