Update app.py
Browse files
app.py
CHANGED
@@ -675,9 +675,6 @@ Example: letter_queue = deque(random.sample(string.ascii_uppercase, 10))"""
|
|
675 |
st.write('๐Run 1 is Complete.')
|
676 |
|
677 |
|
678 |
-
# ------------------------------- Land call to new guy here! --------------------------------------
|
679 |
-
# New guys laughs
|
680 |
-
#arxivmain(query)
|
681 |
client = Client("awacke1/Arxiv-Paper-Search-And-QA-RAG-Pattern")
|
682 |
result = client.predict(
|
683 |
"What is Semantic and Episodic memory?", # str in 'Search' Textbox component
|
@@ -687,11 +684,11 @@ Example: letter_queue = deque(random.sample(string.ascii_uppercase, 10))"""
|
|
687 |
api_name="/update_with_rag_md"
|
688 |
)
|
689 |
st.markdown(result)
|
690 |
-
SpeechSynthesis(result)
|
691 |
-
# ------------------------------------------------------------------------------------Thx----------
|
692 |
|
|
|
|
|
693 |
# ๐Run 1+N - plain query
|
694 |
-
response = chat_with_model45(result) # experimental 45
|
695 |
all = query + ' ' + response
|
696 |
st.write('๐Run 1+N is Complete.')
|
697 |
|
|
|
675 |
st.write('๐Run 1 is Complete.')
|
676 |
|
677 |
|
|
|
|
|
|
|
678 |
client = Client("awacke1/Arxiv-Paper-Search-And-QA-RAG-Pattern")
|
679 |
result = client.predict(
|
680 |
"What is Semantic and Episodic memory?", # str in 'Search' Textbox component
|
|
|
684 |
api_name="/update_with_rag_md"
|
685 |
)
|
686 |
st.markdown(result)
|
|
|
|
|
687 |
|
688 |
+
|
689 |
+
|
690 |
# ๐Run 1+N - plain query
|
691 |
+
response = chat_with_model45(result) # experimental 45 - - - - - - - - - - - - -<><><><><>
|
692 |
all = query + ' ' + response
|
693 |
st.write('๐Run 1+N is Complete.')
|
694 |
|