Update app.py
Browse files
app.py
CHANGED
@@ -107,6 +107,7 @@ description = """Chat with OpenAI models using their official API. OpenAI [promi
|
|
107 |
with gr.Blocks(css = """#col_container {width: 1000px; margin-left: auto; margin-right: auto;}
|
108 |
#chatbot {height: 520px; overflow: auto;}""") as demo:
|
109 |
gr.HTML(title)
|
|
|
110 |
with gr.Column(elem_id = "col_container"):
|
111 |
openai_api_key = gr.Textbox(type='password', label="OpenAI API key (this space does not store it)", value=OPENAI_API_KEY)
|
112 |
model_name = gr.Dropdown(label='model', choices=MODELS, value=MODELS[0], allow_custom_value=True)
|
|
|
107 |
with gr.Blocks(css = """#col_container {width: 1000px; margin-left: auto; margin-right: auto;}
|
108 |
#chatbot {height: 520px; overflow: auto;}""") as demo:
|
109 |
gr.HTML(title)
|
110 |
+
gr.HTML(description)
|
111 |
with gr.Column(elem_id = "col_container"):
|
112 |
openai_api_key = gr.Textbox(type='password', label="OpenAI API key (this space does not store it)", value=OPENAI_API_KEY)
|
113 |
model_name = gr.Dropdown(label='model', choices=MODELS, value=MODELS[0], allow_custom_value=True)
|