Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ gr.close_all()
|
|
74 |
|
75 |
demo = gr.Interface(fn=invoke,
|
76 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
77 |
-
gr.Radio([RAG_OFF, RAG_CHROMA, RAG_MONGODB], label = "Retrieval
|
78 |
gr.Textbox(label = "Prompt", value = "What are GPT-4's media capabilities in 5 emojis and 1 sentence?", lines = 1),
|
79 |
],
|
80 |
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|
|
|
74 |
|
75 |
demo = gr.Interface(fn=invoke,
|
76 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
77 |
+
gr.Radio([RAG_OFF, RAG_CHROMA, RAG_MONGODB], label = "Retrieval-Augmented Generation", value = RAG_OFF),
|
78 |
gr.Textbox(label = "Prompt", value = "What are GPT-4's media capabilities in 5 emojis and 1 sentence?", lines = 1),
|
79 |
],
|
80 |
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|