Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ with st.sidebar:
|
|
24 |
st.title('π€π¬ LLM Chat App')
|
25 |
st.markdown('''
|
26 |
## About
|
27 |
-
|
28 |
PDF:Chatbot AI-powered chat assistant for PDFs
|
29 |
|
30 |
''')
|
@@ -36,7 +36,7 @@ st.session_state['HuggingFace_API_Key'] = st.sidebar.text_input(
|
|
36 |
|
37 |
# load_dotenv()
|
38 |
|
39 |
-
load_button = st.sidebar.button("
|
40 |
|
41 |
|
42 |
def main():
|
@@ -99,7 +99,6 @@ def main():
|
|
99 |
# response = chain.run(input_documents=docs, question=query)
|
100 |
# print(cb)
|
101 |
st.write(response)
|
102 |
-
|
103 |
|
104 |
|
105 |
if __name__ == '__main__':
|
|
|
24 |
st.title('π€π¬ LLM Chat App')
|
25 |
st.markdown('''
|
26 |
## About
|
27 |
+
This app is an LLM-powered chatbot
|
28 |
PDF:Chatbot AI-powered chat assistant for PDFs
|
29 |
|
30 |
''')
|
|
|
36 |
|
37 |
# load_dotenv()
|
38 |
|
39 |
+
load_button = st.sidebar.button("Submit API Key", key="load_button")
|
40 |
|
41 |
|
42 |
def main():
|
|
|
99 |
# response = chain.run(input_documents=docs, question=query)
|
100 |
# print(cb)
|
101 |
st.write(response)
|
|
|
102 |
|
103 |
|
104 |
if __name__ == '__main__':
|