bstraehle commited on
Commit
6aa6e6e
1 Parent(s): dafac0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -64,7 +64,8 @@ gr.close_all()
64
  demo = gr.Interface(
65
  fn = invoke,
66
  inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
67
- gr.Textbox(label = "Prompt", lines = 1, value = "How does current weather in San Francisco and Paris compare in metric and imperial system? Answer in JSON format and include today's date."),
 
68
  gr.Radio([AGENT_OFF, AGENT_LANGCHAIN, AGENT_LLAMAINDEX], label = "Use Agent", value = AGENT_LANGCHAIN)],
69
  outputs = [gr.Textbox(label = "Completion", lines = 1)],
70
  title = "Real-Time Reasoning Application",
 
64
  demo = gr.Interface(
65
  fn = invoke,
66
  inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
67
+ gr.Textbox(label = "Prompt", lines = 1,
68
+ value = "How does current weather in San Francisco and Paris compare in metric and imperial system? Answer in JSON format and include today's date."),
69
  gr.Radio([AGENT_OFF, AGENT_LANGCHAIN, AGENT_LLAMAINDEX], label = "Use Agent", value = AGENT_LANGCHAIN)],
70
  outputs = [gr.Textbox(label = "Completion", lines = 1)],
71
  title = "Real-Time Reasoning Application",