bstraehle commited on
Commit
3f15a43
·
1 Parent(s): d0356ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -109,7 +109,8 @@ description = """<strong>Overview:</strong> Reasoning application that demonstra
109
  gr.close_all()
110
  demo = gr.Interface(fn=invoke,
111
  inputs = [gr.Textbox(label = "OpenAI API Key", value = "sk-", lines = 1),
112
- gr.Radio([True, False], label="Retrieval Augmented Generation", value = False),
 
113
  gr.Textbox(label = "Prompt", value = "What is GPT-4?", lines = 1)],
114
  outputs = [gr.Textbox(label = "Completion", lines = 1)],
115
  title = "Generative AI - LLM & RAG",
 
109
  gr.close_all()
110
  demo = gr.Interface(fn=invoke,
111
  inputs = [gr.Textbox(label = "OpenAI API Key", value = "sk-", lines = 1),
112
+ gr.Radio([True, False], label="Retrieval Augmented Generation (RAG)", value = False),
113
+ gr.Radio(["Chroma", "MongoDB"], label="RAG Database", value = "Chroma"),
114
  gr.Textbox(label = "Prompt", value = "What is GPT-4?", lines = 1)],
115
  outputs = [gr.Textbox(label = "Completion", lines = 1)],
116
  title = "Generative AI - LLM & RAG",