Spaces:
Runtime error
Runtime error
picocreator
commited on
Commit
•
54e56d7
1
Parent(s):
9ca3c1c
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ with gr.Blocks(title=title) as demo:
|
|
104 |
with gr.Row():
|
105 |
with gr.Column():
|
106 |
prompt = gr.Textbox(lines=2, label="Prompt", value="### Assistant: Sure! Here is a very detailed plan to create flying pigs:")
|
107 |
-
token_count = gr.Slider(10,
|
108 |
temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.0)
|
109 |
top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.3)
|
110 |
presence_penalty = gr.Slider(0.0, 1.0, label="Presence Penalty", step=0.1, value=0)
|
|
|
104 |
with gr.Row():
|
105 |
with gr.Column():
|
106 |
prompt = gr.Textbox(lines=2, label="Prompt", value="### Assistant: Sure! Here is a very detailed plan to create flying pigs:")
|
107 |
+
token_count = gr.Slider(10, 1024, label="Max Tokens", step=10, value=1024)
|
108 |
temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.0)
|
109 |
top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.3)
|
110 |
presence_penalty = gr.Slider(0.0, 1.0, label="Presence Penalty", step=0.1, value=0)
|