File size: 525 Bytes
b0747e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d63c9ee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import gradio as gr
from utils import llm_answer

# demo = gr.ChatInterface(
#     fn = echo,
#     multimodal= True,    # Allow upload CV
#     examples = ["hello", "hola", "merhaba"],
#     title= "Echo Bot",
#     description= "Chatbot to answer about job postings & recommend jobs based on your CV.",
#     theme= None,
#     autofocus= True,
#     fill_height= False,
# )


demo = gr.ChatInterface(
    fn= llm_answer,
    examples=[],
    title="Jobs QA & Recommendations Chatbot",
    multimodal=True,
)

demo.launch()