Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -363,7 +363,7 @@ DEFAULT_SAMPLE_PREFIX = tokenizer.decode(tokenizer(DEFAULT_SAMPLE)["input_ids"][
|
|
| 363 |
|
| 364 |
style = theme.Style()
|
| 365 |
|
| 366 |
-
with gr.Blocks(theme=style
|
| 367 |
current_example = gr.State(value=DEFAULT_SAMPLE)
|
| 368 |
with gr.Column():
|
| 369 |
gr.Markdown(title)
|
|
@@ -379,7 +379,7 @@ with gr.Blocks(theme=style, css=modifs) as demo:
|
|
| 379 |
placeholder="Output",
|
| 380 |
lines=5,
|
| 381 |
label="Training sample",
|
| 382 |
-
info="This is an example from The Stack dataset."
|
| 383 |
value=DEFAULT_SAMPLE_PREFIX,
|
| 384 |
disable=True,
|
| 385 |
interactive=False,
|
|
|
|
| 363 |
|
| 364 |
style = theme.Style()
|
| 365 |
|
| 366 |
+
with gr.Blocks(theme=style) as demo:
|
| 367 |
current_example = gr.State(value=DEFAULT_SAMPLE)
|
| 368 |
with gr.Column():
|
| 369 |
gr.Markdown(title)
|
|
|
|
| 379 |
placeholder="Output",
|
| 380 |
lines=5,
|
| 381 |
label="Training sample",
|
| 382 |
+
info="This is an example from The Stack dataset.",
|
| 383 |
value=DEFAULT_SAMPLE_PREFIX,
|
| 384 |
disable=True,
|
| 385 |
interactive=False,
|