Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
# app.py - https://huggingface.co/spaces/JBHF/ChatWithAIForScienceDocs/ -
|
| 2 |
# Derived from https://huggingface.co/spaces/JBHF/NonToxicGlazeAdvisor_Chat_with_Docs_Groq_Edition_1/tree/main
|
| 3 |
|
| 4 |
# NonToxicGlazeAdvisor_Chat_with_Docs_Groq_Edition_1 - app.py - 08-04-2024
|
|
@@ -98,7 +98,9 @@ Veel plezier en nuttig gebruik van de AI app !
|
|
| 98 |
st.subheader("(ALL RIGHTS RESERVED)")
|
| 99 |
st.image('Jan_Bours_2.png', caption='Jan Bours', width=100)
|
| 100 |
st.write("---------------------------------")
|
| 101 |
-
st.subheader("Chat with Docs - Using AI: 'mixtral-8x7b-32768' Groq Edition (Very Fast!) - VERSION 1 - April 11, 2024")
|
|
|
|
|
|
|
| 102 |
st.write("---------------------------------")
|
| 103 |
|
| 104 |
|
|
@@ -466,7 +468,9 @@ with tab1:
|
|
| 466 |
st.subheader("(ALL RIGHTS RESERVED)")
|
| 467 |
st.image('Jan_Bours_2.png', caption='Jan Bours', width=100)
|
| 468 |
st.write("---------------------------------")
|
| 469 |
-
st.subheader("Chat with Docs - Using AI: 'mixtral-8x7b-32768' Groq Edition (Very Fast!) - VERSION 1 - April 11, 2024")
|
|
|
|
|
|
|
| 470 |
st.write("---------------------------------")
|
| 471 |
|
| 472 |
st.header("LIST OF ALL THE LOADED DOCUMENTS: ")
|
|
@@ -640,7 +644,7 @@ with tab1:
|
|
| 640 |
llm = ChatGroq(
|
| 641 |
temperature=0.2,
|
| 642 |
groq_api_key=groq_api_key,
|
| 643 |
-
model_name='mixtral-8x7b-32768'
|
| 644 |
)
|
| 645 |
|
| 646 |
prompt = ChatPromptTemplate.from_template("""
|
|
|
|
| 1 |
+
# app.py - https://huggingface.co/spaces/JBHF/ChatWithAIForScienceDocs/ - 30-04-2024, 15:15 CET
|
| 2 |
# Derived from https://huggingface.co/spaces/JBHF/NonToxicGlazeAdvisor_Chat_with_Docs_Groq_Edition_1/tree/main
|
| 3 |
|
| 4 |
# NonToxicGlazeAdvisor_Chat_with_Docs_Groq_Edition_1 - app.py - 08-04-2024
|
|
|
|
| 98 |
st.subheader("(ALL RIGHTS RESERVED)")
|
| 99 |
st.image('Jan_Bours_2.png', caption='Jan Bours', width=100)
|
| 100 |
st.write("---------------------------------")
|
| 101 |
+
# st.subheader("Chat with Docs - Using AI: 'mixtral-8x7b-32768' Groq Edition (Very Fast!) - VERSION 1 - April 11, 2024")
|
| 102 |
+
# llama3-70b-8192:
|
| 103 |
+
st.subheader("Chat with Docs - Using AI: 'llama3-70b-8192' Groq Edition (Very Fast!) - VERSION 1 - April 30, 2024")
|
| 104 |
st.write("---------------------------------")
|
| 105 |
|
| 106 |
|
|
|
|
| 468 |
st.subheader("(ALL RIGHTS RESERVED)")
|
| 469 |
st.image('Jan_Bours_2.png', caption='Jan Bours', width=100)
|
| 470 |
st.write("---------------------------------")
|
| 471 |
+
# st.subheader("Chat with Docs - Using AI: 'mixtral-8x7b-32768' Groq Edition (Very Fast!) - VERSION 1 - April 11, 2024")
|
| 472 |
+
# llama3-70b-8192
|
| 473 |
+
st.subheader("Chat with Docs - Using AI: 'llama3-70b-8192' Groq Edition (Very Fast!) - VERSION 1 - April 30, 2024")
|
| 474 |
st.write("---------------------------------")
|
| 475 |
|
| 476 |
st.header("LIST OF ALL THE LOADED DOCUMENTS: ")
|
|
|
|
| 644 |
llm = ChatGroq(
|
| 645 |
temperature=0.2,
|
| 646 |
groq_api_key=groq_api_key,
|
| 647 |
+
model_name='llama3-70b-8192' # 'mixtral-8x7b-32768'
|
| 648 |
)
|
| 649 |
|
| 650 |
prompt = ChatPromptTemplate.from_template("""
|