Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ with gr.Blocks() as demo:
|
|
41 |
top_p = gr.Slider(label="Top P", minimum=0, maximum=1, value=0.9)
|
42 |
tools = gr.Textbox(label="Tools (JSON format)", optional=True, placeholder="Enter tools as JSON", value="{\"spellcheck\": true, \"grammar_check\": false}")
|
43 |
tool_choice = gr.Textbox(label="Tool Choice", value="spellcheck", placeholder="Enter tool choice")
|
44 |
-
user = gr.Textbox(label="User",
|
45 |
|
46 |
with gr.Column():
|
47 |
submit_btn = gr.Button("Submit")
|
|
|
41 |
top_p = gr.Slider(label="Top P", minimum=0, maximum=1, value=0.9)
|
42 |
tools = gr.Textbox(label="Tools (JSON format)", optional=True, placeholder="Enter tools as JSON", value="{\"spellcheck\": true, \"grammar_check\": false}")
|
43 |
tool_choice = gr.Textbox(label="Tool Choice", value="spellcheck", placeholder="Enter tool choice")
|
44 |
+
user = gr.Textbox(label="User", placeholder="Enter user identifier", value="user123")
|
45 |
|
46 |
with gr.Column():
|
47 |
submit_btn = gr.Button("Submit")
|