bstraehle commited on
Commit
303ed36
·
verified ·
1 Parent(s): 66dc48d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "Write a Python program that calls the GPT-4 API.", lines = 1),
93
  gr.Radio([RAG_OFF, RAG_LANGCHAIN, RAG_LLAMAINDEX], label = "Retrieval-Augmented Generation", value = RAG_LANGCHAIN)],
94
- outputs = [gr.Markdown(label = "Completion", value = os.environ["OUTPUT"])],
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 = "Write a Python program that calls the GPT-4 API.", lines = 1),
93
  gr.Radio([RAG_OFF, RAG_LANGCHAIN, RAG_LLAMAINDEX], label = "Retrieval-Augmented Generation", value = RAG_LANGCHAIN)],
94
+ outputs = [gr.Textbox(label = "Completion", value = os.environ["OUTPUT"])],
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, "."],