Spaces:
Runtime error
Runtime error
Non-optional
#1
by
PayPeer
- opened
app.py
CHANGED
@@ -13,7 +13,7 @@ with gr.Blocks() as demo:
|
|
13 |
model = gr.Textbox(label="Model ID", placeholder="Enter the model ID", value="text-davinci-003")
|
14 |
frequency_penalty = gr.Number(label="Frequency Penalty", value=0.5)
|
15 |
logit_bias = gr.Textbox(label="Logit Bias (JSON format)", placeholder="Enter logit bias as JSON", value="{\"50256\": -100, \"50257\": 100}")
|
16 |
-
max_tokens = gr.Number(label="Max Tokens",
|
17 |
n = gr.Number(label="N", value=3)
|
18 |
presence_penalty = gr.Number(label="Presence Penalty", value=0.6)
|
19 |
response_format = gr.Radio(label="Response Format", choices=["text", "json_object"], value="text")
|
|
|
13 |
model = gr.Textbox(label="Model ID", placeholder="Enter the model ID", value="text-davinci-003")
|
14 |
frequency_penalty = gr.Number(label="Frequency Penalty", value=0.5)
|
15 |
logit_bias = gr.Textbox(label="Logit Bias (JSON format)", placeholder="Enter logit bias as JSON", value="{\"50256\": -100, \"50257\": 100}")
|
16 |
+
max_tokens = gr.Number(label="Max Tokens", value=150)
|
17 |
n = gr.Number(label="N", value=3)
|
18 |
presence_penalty = gr.Number(label="Presence Penalty", value=0.6)
|
19 |
response_format = gr.Radio(label="Response Format", choices=["text", "json_object"], value="text")
|