update models
Browse files
app.py
CHANGED
@@ -10,7 +10,8 @@ GITHUB_CODE = "https://huggingface.co/datasets/lvwerra/github-code"
|
|
10 |
INCODER_IMG = (
|
11 |
"https://huggingface.co/datasets/loubnabnl/repo-images/raw/main/incoder.png"
|
12 |
)
|
13 |
-
MODELS = ["CodeParrot", "InCoder"]
|
|
|
14 |
|
15 |
@st.cache()
|
16 |
def load_examples():
|
@@ -78,7 +79,7 @@ col1, col2, col3 = st.columns([7,1,6])
|
|
78 |
with col1:
|
79 |
st.markdown("**Models**")
|
80 |
selected_models = st.multiselect(
|
81 |
-
"Select code generation models to compare:",
|
82 |
)
|
83 |
st.markdown(" ")
|
84 |
st.markdown("**Examples**")
|
|
|
10 |
INCODER_IMG = (
|
11 |
"https://huggingface.co/datasets/loubnabnl/repo-images/raw/main/incoder.png"
|
12 |
)
|
13 |
+
MODELS = ["CodeParrot", "InCoder", "CodeGen", "PolyCoder"]
|
14 |
+
GENERATION_MODELS = ["CodeParrot", "InCoder"]
|
15 |
|
16 |
@st.cache()
|
17 |
def load_examples():
|
|
|
79 |
with col1:
|
80 |
st.markdown("**Models**")
|
81 |
selected_models = st.multiselect(
|
82 |
+
"Select code generation models to compare:", GENERATION_MODELS, default=["CodeParrot"], key=3
|
83 |
)
|
84 |
st.markdown(" ")
|
85 |
st.markdown("**Examples**")
|