Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ demo = gr.Interface(
|
|
96 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
97 |
gr.Textbox(label = "Prompt", value = "List GPT-4's exam scores and benchmark results.", lines = 1),
|
98 |
gr.Radio([RAG_OFF, RAG_LANGCHAIN, RAG_LLAMAINDEX], label = "Retrieval-Augmented Generation", value = RAG_LANGCHAIN)],
|
99 |
-
outputs = [gr.
|
100 |
title = "Context-Aware Reasoning Application",
|
101 |
description = os.environ["DESCRIPTION"],
|
102 |
examples = [["sk-<BringYourOwn>", "What are GPT-4's media capabilities in 5 emojis and 1 sentence?", RAG_LLAMAINDEX],
|
|
|
96 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
97 |
gr.Textbox(label = "Prompt", value = "List GPT-4's exam scores and benchmark results.", lines = 1),
|
98 |
gr.Radio([RAG_OFF, RAG_LANGCHAIN, RAG_LLAMAINDEX], label = "Retrieval-Augmented Generation", value = RAG_LANGCHAIN)],
|
99 |
+
outputs = [gr.Textbox(label = "Completion")],
|
100 |
title = "Context-Aware Reasoning Application",
|
101 |
description = os.environ["DESCRIPTION"],
|
102 |
examples = [["sk-<BringYourOwn>", "What are GPT-4's media capabilities in 5 emojis and 1 sentence?", RAG_LLAMAINDEX],
|