Spaces:
Running
Running
Update app.py
Browse files
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,
|
|
|
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",
|