Loubna ben allal commited on
Commit
234ad28
β€’
1 Parent(s): 6fb9ce7

update app

Browse files
Files changed (1) hide show
  1. app.py +2 -10
app.py CHANGED
@@ -24,7 +24,7 @@ st.set_page_config(page_icon=':laptop:', layout="wide")
24
 
25
  st.sidebar.header("Models:")
26
  models = ["CodeParrot", "OPT", "InCoder"]
27
- selected_models = st.multiselect('Select code generation models to compare',
28
  models,
29
  default=["CodeParrot"])
30
  st.sidebar.header("Tasks:")
@@ -34,15 +34,7 @@ selected_task = st.sidebar.selectbox("Select a task:", tasks)
34
  architectures = {}
35
  datasets = {}
36
  pipelines = {}
37
- """
38
- if selected_task == "Model architecture":
39
- st.markdown("## Model architectures")
40
- for model in selected_models:
41
- with open(f"datasets/{model.lower()}.txt", "r") as f:
42
- text = f.read()
43
- #architectures[model] = text
44
- st.markdown(f"### {model}:")
45
- st.markdown(text) """
46
  if selected_task == "Pretraining dataset":
47
  st.title("Pretraining Datasets πŸ“š")
48
  for model in selected_models:
 
24
 
25
  st.sidebar.header("Models:")
26
  models = ["CodeParrot", "OPT", "InCoder"]
27
+ selected_models = st.sidebar.multiselect('Select code generation models to compare',
28
  models,
29
  default=["CodeParrot"])
30
  st.sidebar.header("Tasks:")
 
34
  architectures = {}
35
  datasets = {}
36
  pipelines = {}
37
+
 
 
 
 
 
 
 
 
38
  if selected_task == "Pretraining dataset":
39
  st.title("Pretraining Datasets πŸ“š")
40
  for model in selected_models: