Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,10 +15,12 @@ def rag_system(query,history):
|
|
| 15 |
iface = gr.ChatInterface(
|
| 16 |
rag_system,
|
| 17 |
type="messages",
|
|
|
|
| 18 |
title="AI Alignment ChatBot",
|
| 19 |
-
|
| 20 |
-
theme="
|
| 21 |
-
|
|
|
|
| 22 |
)
|
| 23 |
|
| 24 |
|
|
|
|
| 15 |
iface = gr.ChatInterface(
|
| 16 |
rag_system,
|
| 17 |
type="messages",
|
| 18 |
+
chatbot=gr.Chatbot(placeholder="Let's understand AI Alignment"),
|
| 19 |
title="AI Alignment ChatBot",
|
| 20 |
+
textbox=gr.Textbox(placeholder="Ask Anything", container=True, scale=10),
|
| 21 |
+
theme="Origin",
|
| 22 |
+
examples=["What is Instrumental Efficiency?"]
|
| 23 |
+
|
| 24 |
)
|
| 25 |
|
| 26 |
|