Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def gradio_app():
|
|
38 |
temperature = gr.Slider(minimum=0.1, maximum=1.0, step=0.1, value=0.5, label="Temperature")
|
39 |
max_length = gr.Slider(minimum=250, maximum=1024, step=10, value=450, label="Generate Length")
|
40 |
generate_btn = gr.Button("Try π§¬ππͺπ» Genstruct")
|
41 |
-
output =
|
42 |
|
43 |
generate_btn.click(
|
44 |
fn=generate_text,
|
|
|
38 |
temperature = gr.Slider(minimum=0.1, maximum=1.0, step=0.1, value=0.5, label="Temperature")
|
39 |
max_length = gr.Slider(minimum=250, maximum=1024, step=10, value=450, label="Generate Length")
|
40 |
generate_btn = gr.Button("Try π§¬ππͺπ» Genstruct")
|
41 |
+
output = RichTextbox(label="π§¬ππͺπ»Genstruct 7B:")
|
42 |
|
43 |
generate_btn.click(
|
44 |
fn=generate_text,
|