Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ with gr.Blocks() as demo:
|
|
72 |
# Chat settings
|
73 |
system_prompt = gr.Textbox(value="You are a friendly and open-minded chatbot.", label="System Prompt (Optional)", lines=5)
|
74 |
temperature = gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0.7, label="Temperature")
|
75 |
-
max_tokens = gr.Slider(minimum=10, maximum=8192, step=10, value=
|
76 |
top_p = gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0.9, label="Top-p")
|
77 |
|
78 |
# Chatbot interaction
|
|
|
72 |
# Chat settings
|
73 |
system_prompt = gr.Textbox(value="You are a friendly and open-minded chatbot.", label="System Prompt (Optional)", lines=5)
|
74 |
temperature = gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0.7, label="Temperature")
|
75 |
+
max_tokens = gr.Slider(minimum=10, maximum=8192, step=10, value=1024, label="Max Tokens")
|
76 |
top_p = gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0.9, label="Top-p")
|
77 |
|
78 |
# Chatbot interaction
|