Spaces:
Build error
Build error
Commit
·
cda2760
1
Parent(s):
8e05cfe
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def bot_respond(chat_history, openai_gpt_key, model_choice):
|
|
50 |
|
51 |
# Create a Gradio interface
|
52 |
with gr.Blocks() as demo:
|
53 |
-
openai_gpt_key = gr.Textbox(label="OpenAI GPT API Key", value="", placeholder="sk.."
|
54 |
model_choice = gr.Dropdown(label="Model Options", choices=['gpt-3.5-turbo', 'gpt-4'])
|
55 |
clear_btn = gr.Button("Clear for Restart")
|
56 |
chat_history = gr.Chatbot([], elem_id="chat_history").style(height=500)
|
|
|
50 |
|
51 |
# Create a Gradio interface
|
52 |
with gr.Blocks() as demo:
|
53 |
+
openai_gpt_key = gr.Textbox(label="OpenAI GPT API Key", value="", placeholder="sk..")
|
54 |
model_choice = gr.Dropdown(label="Model Options", choices=['gpt-3.5-turbo', 'gpt-4'])
|
55 |
clear_btn = gr.Button("Clear for Restart")
|
56 |
chat_history = gr.Chatbot([], elem_id="chat_history").style(height=500)
|