bstraehle commited on
Commit
f30a056
·
verified ·
1 Parent(s): 97e2b32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ AGENT_LANGCHAIN = "LangChain"
14
  AGENT_LLAMAINDEX = "LlamaIndex"
15
 
16
  config = {
17
- "model": "gpt-4o", #"gpt-4-0613",
18
  "temperature": 0
19
  }
20
 
@@ -91,7 +91,7 @@ demo = gr.Interface(
91
  gr.Textbox(label = "Prompt", lines = 1,
92
  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."),
93
  gr.Radio([AGENT_OFF, AGENT_LANGCHAIN, AGENT_LLAMAINDEX], label = "Use Agent", value = AGENT_LANGCHAIN)],
94
- outputs = [gr.Textbox(label = "Completion", value=os.environ["OUTPUT"])],
95
  title = "Real-Time Reasoning Application",
96
  description = os.environ["DESCRIPTION"]
97
  )
 
14
  AGENT_LLAMAINDEX = "LlamaIndex"
15
 
16
  config = {
17
+ "model": "gpt-4o",
18
  "temperature": 0
19
  }
20
 
 
91
  gr.Textbox(label = "Prompt", lines = 1,
92
  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."),
93
  gr.Radio([AGENT_OFF, AGENT_LANGCHAIN, AGENT_LLAMAINDEX], label = "Use Agent", value = AGENT_LANGCHAIN)],
94
+ outputs = [gr.Markdown(label = "Completion", value=os.environ["OUTPUT"])],
95
  title = "Real-Time Reasoning Application",
96
  description = os.environ["DESCRIPTION"]
97
  )