Spaces:
Runtime error
Runtime error
kevinlu1248
commited on
Commit
·
763ff9c
1
Parent(s):
c07d625
minor improvements
Browse files
app.py
CHANGED
@@ -139,7 +139,7 @@ with gr.Blocks(css=css) as demo:
|
|
139 |
|
140 |
with gr.Row():
|
141 |
language = gr.Dropdown(["python", "javascript", "go", "ruby", "java", "php", "c", "cpp", "rust", "haskell"], label="Language", value="python")
|
142 |
-
max_chars = gr.Slider(
|
143 |
coalesce = gr.Slider(0, 300, 100, label="Coalesce", step=10)
|
144 |
with gr.Row():
|
145 |
inp = gr.Code(placeholder="Enter the code here", label="Code to Chunk", language=language.value, lines=60, elem_classes="code_container", value=default_code)
|
|
|
139 |
|
140 |
with gr.Row():
|
141 |
language = gr.Dropdown(["python", "javascript", "go", "ruby", "java", "php", "c", "cpp", "rust", "haskell"], label="Language", value="python")
|
142 |
+
max_chars = gr.Slider(10, 3000, 1500, label="Max Characters", step=10)
|
143 |
coalesce = gr.Slider(0, 300, 100, label="Coalesce", step=10)
|
144 |
with gr.Row():
|
145 |
inp = gr.Code(placeholder="Enter the code here", label="Code to Chunk", language=language.value, lines=60, elem_classes="code_container", value=default_code)
|