Spaces:
Build error
Build error
Update app.py
Browse files123493 unmodified lines9899100101102103104361 unmodified lines466467468469470471472167 unmodified lines640641642643644645646# app.py - https://huggingface.co/spaces/JBHF/ChatWithAIForScienceDocs/ - 11-04-2024, 12:00 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 linesst.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.write("---------------------------------")361 unmodified linesst.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.write("---------------------------------")st.header("LIST OF ALL THE LOADED DOCUMENTS: ")167 unmodified linesllm = ChatGroq(temperature=0.2,groq_api_key=groq_api_key,model_name='mixtral-8x7b-32768')prompt = ChatPromptTemplate.from_template("""123493 unmodified lines9899100101102103104105106361 unmodified lines468469470471472473474475476167 unmodified lines644645646647648649650# 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 linesst.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")# 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 linesst.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")# llama3-70b-8192st.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 linesllm = ChatGroq(temperature=0.2,groq_api_key=groq_api_key,model_name='llama3-70b-8192' # 'mixtral-8x7b-32768')prompt = ChatPromptTemplate.from_template("""
app.py+8-4