dmariko commited on
Commit
5016fd8
1 Parent(s): 8165996

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def change_model_name(name):
47
  MODEL_BUF["config"] = AutoConfig.from_pretrained(name)
48
 
49
 
50
- def generate(modelname, text):
51
 
52
  if model_name != MODEL_NAME:
53
  change_model_name(model_name)
 
47
  MODEL_BUF["config"] = AutoConfig.from_pretrained(name)
48
 
49
 
50
+ def generate(model_name, text):
51
 
52
  if model_name != MODEL_NAME:
53
  change_model_name(model_name)