Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ demo = gr.Interface(
|
|
95 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
96 |
gr.Textbox(label = "Prompt", value = "TODO", lines = 1),
|
97 |
gr.Radio([RAG_OFF, RAG_NAIVE, RAG_ADVANCED], label = "Retrieval-Augmented Generation", value = RAG_ADVANCED)],
|
98 |
-
outputs = [gr.
|
99 |
title = "Context-Aware Reasoning Application",
|
100 |
description = os.environ["DESCRIPTION"]
|
101 |
)
|
|
|
95 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
96 |
gr.Textbox(label = "Prompt", value = "TODO", lines = 1),
|
97 |
gr.Radio([RAG_OFF, RAG_NAIVE, RAG_ADVANCED], label = "Retrieval-Augmented Generation", value = RAG_ADVANCED)],
|
98 |
+
outputs = [gr.Markdown(label = "Completion")],
|
99 |
title = "Context-Aware Reasoning Application",
|
100 |
description = os.environ["DESCRIPTION"]
|
101 |
)
|