Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -192,7 +192,7 @@ gr.close_all()
|
|
192 |
demo = gr.Interface(fn=invoke,
|
193 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
194 |
gr.Radio([RAG_OFF, RAG_CHROMA, RAG_MONGODB], label = "Retrieval Augmented Generation", value = RAG_OFF),
|
195 |
-
gr.Textbox(label = "Prompt",
|
196 |
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|
197 |
title = "Generative AI - LLM & RAG",
|
198 |
description = description)
|
|
|
192 |
demo = gr.Interface(fn=invoke,
|
193 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
194 |
gr.Radio([RAG_OFF, RAG_CHROMA, RAG_MONGODB], label = "Retrieval Augmented Generation", value = RAG_OFF),
|
195 |
+
gr.Textbox(label = "Prompt", placeholder = "What is GPT-4?", lines = 1)],
|
196 |
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|
197 |
title = "Generative AI - LLM & RAG",
|
198 |
description = description)
|