Update app.py
Browse files
app.py
CHANGED
@@ -28,5 +28,5 @@ db2 = FAISS.from_documents(all_splits, embeddings)
|
|
28 |
|
29 |
qa = RetrievalQA.from_chain_type(llm=llm, retriever=db2.as_retriever())
|
30 |
|
31 |
-
iface = gr.Interface(ask,gr.Textbox(label="Question"),gr.Textbox(label=
|
32 |
iface.launch()
|
|
|
28 |
|
29 |
qa = RetrievalQA.from_chain_type(llm=llm, retriever=db2.as_retriever())
|
30 |
|
31 |
+
iface = gr.Interface(ask,gr.Textbox(label="Question"),gr.Textbox(label="Answer"), title="BiMah Customer Service Chatbot",description="A chatbot that can answer things related to BiMah (Bimbel Mahasiswa)", examples=["How BiMah can enforce students to be better?","Siapa CEO BiMah?", "Bagaimana langkah-langkah pendaftaran di BiMah?"])
|
32 |
iface.launch()
|