Spaces:
Build error
Build error
Upload 2 files
Browse files- Az_600_word.docx +0 -0
- app.py +15 -0
Az_600_word.docx
ADDED
|
Binary file (766 kB). View file
|
|
|
app.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
from embedchain import App
|
| 3 |
+
import streamlit as st
|
| 4 |
+
|
| 5 |
+
qna_bot=App()
|
| 6 |
+
|
| 7 |
+
qna_bot.add("C:/Users/User/Documents/VSC/EmbedchainLearningBot/Az_600_word.docx", data_type="docx")
|
| 8 |
+
|
| 9 |
+
st.title("🎓 AZ-600 LearningBot 🤖")
|
| 10 |
+
st.text("für Manninger by Alex")
|
| 11 |
+
st.divider()
|
| 12 |
+
question = st.text_area("Frage hier reinkopieren, dann Str+Enter")
|
| 13 |
+
if question.strip():
|
| 14 |
+
answer = qna_bot.query(question)
|
| 15 |
+
st.write(answer)
|