magdap116 commited on
Commit
2ec7c8b
·
verified ·
1 Parent(s): 144ef97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ MODEL_NAME = 'microsoft/DialoGPT-small'# 'EleutherAI/gpt-neo-2.7B'#'distilbert/d
60
 
61
 
62
 
63
- def load_model():
64
  """Download and load the model and tokenizer."""
65
  try:
66
  print(f"Loading model {MODEL_NAME}...")
 
60
 
61
 
62
 
63
+ def load_model(model_name):
64
  """Download and load the model and tokenizer."""
65
  try:
66
  print(f"Loading model {MODEL_NAME}...")