Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -483,7 +483,7 @@ class GradioChatApp:
|
|
483 |
# api_key = gr.Textbox(placeholder='Enter OpenAI API key', show_label=False, interactive=True, scale=3)
|
484 |
# change_api_key = gr.Button('Change Key', scale=1)
|
485 |
|
486 |
-
with gr.Accordion("
|
487 |
# https://platform.openai.com/docs/models/overview
|
488 |
with gr.Row():
|
489 |
model_name = gr.Dropdown(["gpt-3.5-turbo", "gpt-4", "gpt-4-32k", "gpt-4-1106-preview"], value="gpt-4", interactive=True, label="Model", scale=1) # scale=1, min_width=0
|
@@ -498,8 +498,8 @@ class GradioChatApp:
|
|
498 |
|
499 |
with gr.Column(scale=8):
|
500 |
chatbot = gr.Chatbot(elem_id="Chatbot", label="LitLLM", height=460)
|
501 |
-
with gr.Row():
|
502 |
-
|
503 |
|
504 |
with gr.Row():
|
505 |
with gr.Column(scale=3):
|
|
|
483 |
# api_key = gr.Textbox(placeholder='Enter OpenAI API key', show_label=False, interactive=True, scale=3)
|
484 |
# change_api_key = gr.Button('Change Key', scale=1)
|
485 |
|
486 |
+
with gr.Accordion("Parameters", open=False) as parameter_row:
|
487 |
# https://platform.openai.com/docs/models/overview
|
488 |
with gr.Row():
|
489 |
model_name = gr.Dropdown(["gpt-3.5-turbo", "gpt-4", "gpt-4-32k", "gpt-4-1106-preview"], value="gpt-4", interactive=True, label="Model", scale=1) # scale=1, min_width=0
|
|
|
498 |
|
499 |
with gr.Column(scale=8):
|
500 |
chatbot = gr.Chatbot(elem_id="Chatbot", label="LitLLM", height=460)
|
501 |
+
# with gr.Row():
|
502 |
+
# gr.Markdown("""**Enter your research idea here!**""")
|
503 |
|
504 |
with gr.Row():
|
505 |
with gr.Column(scale=3):
|