Update app.py
Browse files
app.py
CHANGED
|
@@ -151,7 +151,7 @@ with gr.Blocks(css="#chatbot {overflow-y:auto; min-height:400px;} ") as dialog_a
|
|
| 151 |
with gr.Tab("ChatBot"):
|
| 152 |
with gr.Row():
|
| 153 |
with gr.Column(scale=1, min_width=600):
|
| 154 |
-
api_key = gr.Textbox(label="Your API Key", type="password")
|
| 155 |
temperature_input = gr.inputs.Slider(minimum=0, maximum=1.0, default=0.5, step=0.01, label="Temperature")
|
| 156 |
max_tokens_input = gr.inputs.Slider(minimum=1, maximum=7500, default=50, step=10, label="Max Tokens")
|
| 157 |
top_p_input = gr.inputs.Slider(minimum=0.1, maximum=1.0, default=0.5, step=0.01, label="Top P")
|
|
|
|
| 151 |
with gr.Tab("ChatBot"):
|
| 152 |
with gr.Row():
|
| 153 |
with gr.Column(scale=1, min_width=600):
|
| 154 |
+
api_key = gr.Textbox(label="Your API Key", type="password", required=True)
|
| 155 |
temperature_input = gr.inputs.Slider(minimum=0, maximum=1.0, default=0.5, step=0.01, label="Temperature")
|
| 156 |
max_tokens_input = gr.inputs.Slider(minimum=1, maximum=7500, default=50, step=10, label="Max Tokens")
|
| 157 |
top_p_input = gr.inputs.Slider(minimum=0.1, maximum=1.0, default=0.5, step=0.01, label="Top P")
|