Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -355,8 +355,6 @@ with gr.Blocks(css=STYLES) as demo:
|
|
| 355 |
"be changed over time, but [meta-llama/Llama-2-70b-chat-hf](https://huggingface.co/meta-llama/Llama-2-70b-chat-hf) is selected for now.",
|
| 356 |
elem_classes=['center', 'small-big'])
|
| 357 |
|
| 358 |
-
progress_bar = gr.Textbox(elem_classes=['no-label'])
|
| 359 |
-
|
| 360 |
with gr.Row():
|
| 361 |
with gr.Column(scale=2):
|
| 362 |
editor = gr.Textbox(lines=32, max_lines=32, elem_classes=['no-label', 'small-big-textarea'])
|
|
@@ -415,6 +413,8 @@ with gr.Blocks(css=STYLES) as demo:
|
|
| 415 |
clear_btn = gr.Button("clear", elem_classes=['control-label-font', 'control-button'])
|
| 416 |
regen_btn = gr.Button("regenerate", elem_classes=['control-label-font', 'control-button'])
|
| 417 |
|
|
|
|
|
|
|
| 418 |
editor.change(
|
| 419 |
fn=None,
|
| 420 |
inputs=[editor],
|
|
|
|
| 355 |
"be changed over time, but [meta-llama/Llama-2-70b-chat-hf](https://huggingface.co/meta-llama/Llama-2-70b-chat-hf) is selected for now.",
|
| 356 |
elem_classes=['center', 'small-big'])
|
| 357 |
|
|
|
|
|
|
|
| 358 |
with gr.Row():
|
| 359 |
with gr.Column(scale=2):
|
| 360 |
editor = gr.Textbox(lines=32, max_lines=32, elem_classes=['no-label', 'small-big-textarea'])
|
|
|
|
| 413 |
clear_btn = gr.Button("clear", elem_classes=['control-label-font', 'control-button'])
|
| 414 |
regen_btn = gr.Button("regenerate", elem_classes=['control-label-font', 'control-button'])
|
| 415 |
|
| 416 |
+
progress_bar = gr.Textbox(elem_classes=['no-label'])
|
| 417 |
+
|
| 418 |
editor.change(
|
| 419 |
fn=None,
|
| 420 |
inputs=[editor],
|