bstraehle commited on
Commit
577e508
·
verified ·
1 Parent(s): e0f6119

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ demo = gr.Interface(
46
  inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
47
  gr.Textbox(label = "Prompt", value = PROMPT, lines = 1),
48
  gr.Radio([RAG_OFF, RAG_NAIVE, RAG_ADVANCED], label = "Retrieval-Augmented Generation", value = RAG_ADVANCED)],
49
- outputs = [gr.Markdown(label = "Completion")],
50
  title = "Context-Aware Reasoning Application",
51
  description = os.environ["DESCRIPTION"]
52
  )
 
46
  inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
47
  gr.Textbox(label = "Prompt", value = PROMPT, lines = 1),
48
  gr.Radio([RAG_OFF, RAG_NAIVE, RAG_ADVANCED], label = "Retrieval-Augmented Generation", value = RAG_ADVANCED)],
49
+ outputs = [gr.Markdown(label = "Completion", value = os.environ["OUTPUT"], line_breaks = True, sanitize_html = False)],
50
  title = "Context-Aware Reasoning Application",
51
  description = os.environ["DESCRIPTION"]
52
  )