Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ Chat with this AI assistant and get instant responses.
|
|
| 11 |
""")
|
| 12 |
|
| 13 |
# Initialize the Hugging Face pipeline for text generation (GPT-2 model)
|
| 14 |
-
generator = pipeline("text-generation", model="
|
| 15 |
|
| 16 |
# Function to get the bot's response
|
| 17 |
def get_bot_response(user_input):
|
|
|
|
| 11 |
""")
|
| 12 |
|
| 13 |
# Initialize the Hugging Face pipeline for text generation (GPT-2 model)
|
| 14 |
+
generator = pipeline("text-generation", model="gpt2") # Correct model identifier: "gpt2"
|
| 15 |
|
| 16 |
# Function to get the bot's response
|
| 17 |
def get_bot_response(user_input):
|