File size: 327 Bytes
35b12e0
 
 
 
 
 
909a74d
35b12e0
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os
from embedchain import App
import streamlit as st

qna_bot=App()

qna_bot.add("Az_600_word.docx", data_type="docx")

st.title("πŸŽ“ AZ-600 LearningBot πŸ€–")
st.divider()
question = st.text_area("Frage hier reinkopieren, dann Str+Enter")
if question.strip():
    answer = qna_bot.query(question)
    st.write(answer)