Jekyll2000 commited on
Commit
ab53cfe
·
verified ·
1 Parent(s): 61be088

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -85,7 +85,7 @@ st.sidebar.title("Navigation")
85
  st.sidebar.write("Reclaim Your Mental Health")
86
  st.sidebar.markdown("[Visit us at](https://www.insighttherapysolutions.com/)")
87
 
88
- rag_chain = RemoteRunnable("http://69.61.24.171:8000/rag_chain/")
89
 
90
 
91
 
@@ -95,13 +95,6 @@ rag_chain = RemoteRunnable("http://69.61.24.171:8000/rag_chain/")
95
  st.markdown("## 🔍 Chatbot For AI Engineer test:")
96
 
97
 
98
- for res in response:
99
- full_response += res or ""
100
- message_placeholder.markdown(full_response + "|")
101
- message_placeholder.markdown(full_response)
102
-
103
- msgs.add_user_message(prompt)
104
- msgs.add_ai_message(full_response)
105
 
106
  except Exception as e:
107
  st.error(f"An error occured. {e}")
 
85
  st.sidebar.write("Reclaim Your Mental Health")
86
  st.sidebar.markdown("[Visit us at](https://www.insighttherapysolutions.com/)")
87
 
88
+ #rag_chain = RemoteRunnable("http://69.61.24.171:8000/rag_chain/")
89
 
90
 
91
 
 
95
  st.markdown("## 🔍 Chatbot For AI Engineer test:")
96
 
97
 
 
 
 
 
 
 
 
98
 
99
  except Exception as e:
100
  st.error(f"An error occured. {e}")