Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from retriever import retriever
|
| 3 |
|
| 4 |
-
app = gr.ChatInterface(
|
| 5 |
-
chatbot=gr.Chatbot(height=400),
|
| 6 |
type = "messages",
|
| 7 |
textbox=gr.Textbox(placeholder="Type your message here", container=False, scale=7),
|
| 8 |
-
title="
|
| 9 |
theme="upsatwal/mlsc_tiet",
|
| 10 |
-
examples=["What
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
|
| 14 |
if __name__ == "__main__":
|
| 15 |
app.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from retriever import retriever
|
| 3 |
|
| 4 |
+
app = gr.ChatInterface(nodexlSearch,
|
| 5 |
+
chatbot=gr.Chatbot(height=400,render_markdown=True,editable=True),
|
| 6 |
type = "messages",
|
| 7 |
textbox=gr.Textbox(placeholder="Type your message here", container=False, scale=7),
|
| 8 |
+
title="NodeXL Chatbot",
|
| 9 |
theme="upsatwal/mlsc_tiet",
|
| 10 |
+
examples=["What are the applications of NodeXL?",
|
| 11 |
+
"Who are the developers of NodeXL?",
|
| 12 |
+
"How can I add vertices in NodeXL"])
|
| 13 |
|
| 14 |
if __name__ == "__main__":
|
| 15 |
app.launch()
|