fffiloni commited on
Commit
b815d0a
1 Parent(s): 91abd8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -16,8 +16,12 @@ def run(prompt, plugin_json):
16
  agent_chain = initialize_agent( tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)
17
  return agent_chain.run(prompt)
18
 
 
 
 
19
  with gr.Blocks() as demo:
20
  with gr.Column():
 
21
  prompt = gr.Textbox(label="Prompt", value="what t shirts are available in klarna?")
22
  plugin = gr.Textbox(label="Plugin", value="https://www.klarna.com/.well-known/ai-plugin.json")
23
  run_btn = gr.Button("Run")
 
16
  agent_chain = initialize_agent( tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)
17
  return agent_chain.run(prompt)
18
 
19
+ title="""
20
+ ChatGPT Plugins playground
21
+ """
22
  with gr.Blocks() as demo:
23
  with gr.Column():
24
+ gr.HTML(title)
25
  prompt = gr.Textbox(label="Prompt", value="what t shirts are available in klarna?")
26
  plugin = gr.Textbox(label="Plugin", value="https://www.klarna.com/.well-known/ai-plugin.json")
27
  run_btn = gr.Button("Run")