Dricz commited on
Commit
b3301a0
·
verified ·
1 Parent(s): bb63086

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=OPENAI_API_KEY), 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()
 
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()