Spaces:
Build error
Build error
Update app.py
Browse files1123493 unmodified lines9899100101101102103104105106361 unmodified lines468469470469471472473474475476167 unmodified lines644645646643647648649650# app.py - https://huggingface.co/spaces/JBHF/ChatWithAIForScienceDocs/ - 11-04-2024, 12:00 CET# app.py - https://huggingface.co/spaces/JBHF/ChatWithAIForScienceDocs/ - 30-04-2024, 15:15 CET# Derived from https://huggingface.co/spaces/JBHF/NonToxicGlazeAdvisor_Chat_with_Docs_Groq_Edition_1/tree/main
# NonToxicGlazeAdvisor_Chat_with_Docs_Groq_Edition_1 - app.py - 08-04-202493 unmodified lines st.subheader("(ALL RIGHTS RESERVED)") st.image('Jan_Bours_2.png', caption='Jan Bours', width=100) st.write("---------------------------------") st.subheader("Chat with Docs - Using AI: 'mixtral-8x7b-32768' Groq Edition (Very Fast!) - VERSION 1 - April 11, 2024") # st.subheader("Chat with Docs - Using AI: 'mixtral-8x7b-32768' Groq Edition (Very Fast!) - VERSION 1 - April 11, 2024") # llama3-70b-8192: st.subheader("Chat with Docs - Using AI: 'llama3-70b-8192' Groq Edition (Very Fast!) - VERSION 1 - April 30, 2024") st.write("---------------------------------")
361 unmodified lines st.subheader("(ALL RIGHTS RESERVED)") st.image('Jan_Bours_2.png', caption='Jan Bours', width=100) st.write("---------------------------------") st.subheader("Chat with Docs - Using AI: 'mixtral-8x7b-32768' Groq Edition (Very Fast!) - VERSION 1 - April 11, 2024") # st.subheader("Chat with Docs - Using AI: 'mixtral-8x7b-32768' Groq Edition (Very Fast!) - VERSION 1 - April 11, 2024") # llama3-70b-8192 st.subheader("Chat with Docs - Using AI: 'llama3-70b-8192' Groq Edition (Very Fast!) - VERSION 1 - April 30, 2024") st.write("---------------------------------")
st.header("LIST OF ALL THE LOADED DOCUMENTS: ")167 unmodified lines llm = ChatGroq( temperature=0.2, groq_api_key=groq_api_key, model_name='mixtral-8x7b-32768' model_name='llama3-70b-8192' # 'mixtral-8x7b-32768' )
prompt = ChatPromptTemplate.from_template("""app.py+8-4