Ghmustafa11 commited on
Commit
324b355
·
verified ·
1 Parent(s): 0d584b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="gpt-2")
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):