Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ with gr.Blocks(css = """#col_container {width: 1000px; margin-left: auto; margin
|
|
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(choices=MODELS, value=MODELS[0], allow_custom_value=True)
|
113 |
chatbot = gr.Chatbot(elem_id='chatbot') #c
|
114 |
inputs = gr.Textbox(placeholder= "Type here!", label= "Type an input and press Enter") #t
|
115 |
state = gr.State([]) #s
|
|
|
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)
|
113 |
chatbot = gr.Chatbot(elem_id='chatbot') #c
|
114 |
inputs = gr.Textbox(placeholder= "Type here!", label= "Type an input and press Enter") #t
|
115 |
state = gr.State([]) #s
|