Spaces:
Runtime error
Runtime error
Commit
Β·
4db5506
1
Parent(s):
76d10ec
fix column width examples
Browse files
src/synthetic_dataset_generator/apps/sft.py
CHANGED
@@ -381,13 +381,15 @@ with gr.Blocks() as app:
|
|
381 |
"Create",
|
382 |
variant="primary",
|
383 |
)
|
384 |
-
with gr.Column(scale=
|
385 |
examples = gr.Examples(
|
386 |
examples=DEFAULT_DATASET_DESCRIPTIONS,
|
387 |
inputs=[dataset_description],
|
388 |
cache_examples=False,
|
389 |
label="Examples",
|
390 |
)
|
|
|
|
|
391 |
|
392 |
gr.HTML(value="<hr>")
|
393 |
gr.Markdown(value="## 2. Configure your dataset")
|
|
|
381 |
"Create",
|
382 |
variant="primary",
|
383 |
)
|
384 |
+
with gr.Column(scale=2):
|
385 |
examples = gr.Examples(
|
386 |
examples=DEFAULT_DATASET_DESCRIPTIONS,
|
387 |
inputs=[dataset_description],
|
388 |
cache_examples=False,
|
389 |
label="Examples",
|
390 |
)
|
391 |
+
with gr.Column(scale=1):
|
392 |
+
pass
|
393 |
|
394 |
gr.HTML(value="<hr>")
|
395 |
gr.Markdown(value="## 2. Configure your dataset")
|
src/synthetic_dataset_generator/apps/textcat.py
CHANGED
@@ -355,13 +355,15 @@ with gr.Blocks() as app:
|
|
355 |
"Create",
|
356 |
variant="primary",
|
357 |
)
|
358 |
-
with gr.Column(scale=
|
359 |
examples = gr.Examples(
|
360 |
examples=DEFAULT_DATASET_DESCRIPTIONS,
|
361 |
inputs=[dataset_description],
|
362 |
cache_examples=False,
|
363 |
label="Examples",
|
364 |
)
|
|
|
|
|
365 |
|
366 |
gr.HTML("<hr>")
|
367 |
gr.Markdown("## 2. Configure your dataset")
|
|
|
355 |
"Create",
|
356 |
variant="primary",
|
357 |
)
|
358 |
+
with gr.Column(scale=2):
|
359 |
examples = gr.Examples(
|
360 |
examples=DEFAULT_DATASET_DESCRIPTIONS,
|
361 |
inputs=[dataset_description],
|
362 |
cache_examples=False,
|
363 |
label="Examples",
|
364 |
)
|
365 |
+
with gr.Column(scale=1):
|
366 |
+
pass
|
367 |
|
368 |
gr.HTML("<hr>")
|
369 |
gr.Markdown("## 2. Configure your dataset")
|