GH111 commited on
Commit
d890b2c
1 Parent(s): cf40e74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -7,7 +7,12 @@ def generate_message():
7
 
8
  # Function to load Hugging Face chatbot model
9
  def load_chatbot_model():
10
- return pipeline("conversational", model="alpindale/goliath-120b")
 
 
 
 
 
11
 
12
  # Main Page with Chatbot
13
  def main():
 
7
 
8
  # Function to load Hugging Face chatbot model
9
  def load_chatbot_model():
10
+ pipe = pipeline("conversational", model="alpindale/goliath-120b")
11
+ return pipeline
12
+ # Use a pipeline as a high-level helper
13
+
14
+
15
+
16
 
17
  # Main Page with Chatbot
18
  def main():