Spaces:
Sleeping
Sleeping
File size: 693 Bytes
345eb49 7f8604d 345eb49 7f8604d 1e8c312 345eb49 7f8604d f904716 7f8604d 345eb49 7f8604d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import gradio as gr
from retriever import retriever
app = gr.ChatInterface(retriever,
chatbot=gr.Chatbot(height=400),
type = "messages",
textbox=gr.Textbox(placeholder="Type your message here", container=False, scale=7),
title="Cache Augmented Generation System",
theme="upsatwal/mlsc_tiet",
examples=["What position was applied for at DAME?",
"What is the date of the application to ACLED?",
"Summarize the application to Nansen in 5 bullet points."])
if __name__ == "__main__":
app.launch()
|