Loubna ben allal commited on
Commit
a5d2ff2
1 Parent(s): c745b43

update app

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -54,7 +54,8 @@ for model in models:
54
  model = load_model("facebook/opt-1.3b")
55
  pipe = pipeline("text-generation", model=model3, tokenizer=tokenizer3)
56
  pipelines[model] = pipe
57
-
 
58
  example_names = [example["name"] for example in examples]
59
  name2id = dict([(name, i) for i, name in enumerate(example_names)])
60
  set_seed(42)
 
54
  model = load_model("facebook/opt-1.3b")
55
  pipe = pipeline("text-generation", model=model3, tokenizer=tokenizer3)
56
  pipelines[model] = pipe
57
+
58
+ examples = load_examples()
59
  example_names = [example["name"] for example in examples]
60
  name2id = dict([(name, i) for i, name in enumerate(example_names)])
61
  set_seed(42)