Spaces:
Sleeping
Sleeping
Commit
·
8ce66bc
1
Parent(s):
68d7b70
Update app.py
Browse files
app.py
CHANGED
|
@@ -225,9 +225,7 @@ with gr.Blocks() as demo:
|
|
| 225 |
warmup_button = gr.Button("Warm-up LLM Agora 🔥", visible=True)
|
| 226 |
welcome_message = gr.HTML(WELCOME_TEXT, visible=False)
|
| 227 |
with gr.Row(visible=False) as options:
|
| 228 |
-
with gr.Column():
|
| 229 |
cot = gr.Checkbox(label="CoT", info="Do you want to use CoT for inference?")
|
| 230 |
-
with gr.Column() as inputbox:
|
| 231 |
API_KEY = gr.Textbox(label="OpenAI API Key", value="", info="Please fill in your OpenAI API token.", placeholder="sk..", type="password")
|
| 232 |
with gr.Column(visible=False) as inputbox:
|
| 233 |
question = gr.Textbox(label="Question", value="", info="Please type your question!", placeholder="")
|
|
|
|
| 225 |
warmup_button = gr.Button("Warm-up LLM Agora 🔥", visible=True)
|
| 226 |
welcome_message = gr.HTML(WELCOME_TEXT, visible=False)
|
| 227 |
with gr.Row(visible=False) as options:
|
|
|
|
| 228 |
cot = gr.Checkbox(label="CoT", info="Do you want to use CoT for inference?")
|
|
|
|
| 229 |
API_KEY = gr.Textbox(label="OpenAI API Key", value="", info="Please fill in your OpenAI API token.", placeholder="sk..", type="password")
|
| 230 |
with gr.Column(visible=False) as inputbox:
|
| 231 |
question = gr.Textbox(label="Question", value="", info="Please type your question!", placeholder="")
|