Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -50,10 +50,10 @@ with gr.Blocks() as demo:
|
|
50 |
gr.Markdown(title)
|
51 |
with gr.Row():
|
52 |
message_box = gr.Textbox(lines=2, label="Your Message")
|
53 |
-
max_new_tokens_slider = gr.Slider(minimum=10, maximum=100,
|
54 |
-
temperature_slider = gr.Slider(minimum=0.1, maximum=1.0, step=0.1,
|
55 |
-
generate_button = gr.Button("
|
56 |
-
output_box = gr.Textbox(label="
|
57 |
|
58 |
generate_button.click(
|
59 |
fn=generate_response,
|
|
|
50 |
gr.Markdown(title)
|
51 |
with gr.Row():
|
52 |
message_box = gr.Textbox(lines=2, label="Your Message")
|
53 |
+
max_new_tokens_slider = gr.Slider(minimum=10, maximum=100, value=50, label="Max New Tokens")
|
54 |
+
temperature_slider = gr.Slider(minimum=0.1, maximum=1.0, step=0.1, value=0.3, label="Temperature")
|
55 |
+
generate_button = gr.Button("Try🫡Command-R")
|
56 |
+
output_box = gr.Textbox(label="🫡Command-R")
|
57 |
|
58 |
generate_button.click(
|
59 |
fn=generate_response,
|