Spaces:
Runtime error
Runtime error
File size: 675 Bytes
345eb49 94e05bb 345eb49 82006d2 345eb49 7f8604d 82006d2 f904716 82006d2 345eb49 7f8604d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import gradio as gr
from nodexl import nodexlSearch
app = gr.ChatInterface(nodexlSearch,
chatbot=gr.Chatbot(height=400,render_markdown=True,editable=True),
type = "messages",
textbox=gr.Textbox(placeholder="Type your message here", container=False, scale=7),
title="NodeXL Chatbot",
theme="upsatwal/mlsc_tiet",
examples=["What are the applications of NodeXL?",
"Who are the developers of NodeXL?",
"How can I add vertices in NodeXL"])
if __name__ == "__main__":
app.launch()
|