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