Loubna ben allal commited on
Commit
1e8c169
1 Parent(s): d37599a

update app

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -20,16 +20,7 @@ def load_examples():
20
  examples = json.load(f)
21
  return examples
22
 
23
- st.set_page_config(page_icon=':parrot:', layout="wide")
24
-
25
- tokenizer1 = load_tokenizer("lvwerra/codeparrot")
26
- model1 = load_model("lvwerra/codeparrot")
27
-
28
- tokenizer2 = load_tokenizer("facebook/opt-1.3b")
29
- model2 = load_model("facebook/opt-1.3b")
30
-
31
- tokenizer3 = load_tokenizer("facebook/incoder-1B")
32
- model3 = load_model("facebook/incoder-1B")
33
 
34
  st.sidebar.header("Models:")
35
  models = ["CodeParrot", "OPT", "InCoder"]
 
20
  examples = json.load(f)
21
  return examples
22
 
23
+ st.set_page_config(page_icon=':laptop:', layout="wide")
 
 
 
 
 
 
 
 
 
24
 
25
  st.sidebar.header("Models:")
26
  models = ["CodeParrot", "OPT", "InCoder"]