Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
31 |
gr.HTML(title)
|
32 |
prompt = gr.Textbox(label="Prompt", value="what t shirts are available in klarna?")
|
33 |
plugin = gr.Textbox(label="Plugin json", info="You need the .json plugin manifesto file of the plugin you want to use", value="https://www.klarna.com/.well-known/ai-plugin.json")
|
34 |
-
openai_api_key = gr.Textbox(label="OpenAI API Key", type="password")
|
35 |
run_btn = gr.Button("Run")
|
36 |
response = gr.Textbox(label="Response")
|
37 |
run_btn.click(fn=run,
|
|
|
31 |
gr.HTML(title)
|
32 |
prompt = gr.Textbox(label="Prompt", value="what t shirts are available in klarna?")
|
33 |
plugin = gr.Textbox(label="Plugin json", info="You need the .json plugin manifesto file of the plugin you want to use", value="https://www.klarna.com/.well-known/ai-plugin.json")
|
34 |
+
openai_api_key = gr.Textbox(label="OpenAI API Key", info="*required", type="password")
|
35 |
run_btn = gr.Button("Run")
|
36 |
response = gr.Textbox(label="Response")
|
37 |
run_btn.click(fn=run,
|