Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ gr.close_all()
|
|
62 |
|
63 |
demo = gr.Interface(fn = invoke,
|
64 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
65 |
-
gr.Textbox(label = "Prompt", lines = 1, value = "How does current weather in
|
66 |
gr.Radio([AGENT_OFF, AGENT_LANGCHAIN, AGENT_LLAMAINDEX], label = "Use Agent", value = AGENT_LANGCHAIN)],
|
67 |
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|
68 |
title = "Real-Time Reasoning Application",
|
|
|
62 |
|
63 |
demo = gr.Interface(fn = invoke,
|
64 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
65 |
+
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."),
|
66 |
gr.Radio([AGENT_OFF, AGENT_LANGCHAIN, AGENT_LLAMAINDEX], label = "Use Agent", value = AGENT_LANGCHAIN)],
|
67 |
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|
68 |
title = "Real-Time Reasoning Application",
|