Update app.py
Browse files
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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():
|