tahirsher commited on
Commit
33e73ba
·
verified ·
1 Parent(s): bcab110

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -56,6 +56,8 @@ dataset = load_counseling_dataset()
56
  def load_text_generation_model():
57
  return pipeline("text-generation", model="EleutherAI/gpt-neo-1.3B")
58
 
 
 
59
  # Streamlit app
60
  st.title("Mental Health Counseling Chat")
61
  st.markdown("""
 
56
  def load_text_generation_model():
57
  return pipeline("text-generation", model="EleutherAI/gpt-neo-1.3B")
58
 
59
+ text_generator = load_text_generation_model()
60
+
61
  # Streamlit app
62
  st.title("Mental Health Counseling Chat")
63
  st.markdown("""