update
Browse files
app.py
CHANGED
@@ -59,7 +59,8 @@ st.markdown(text)
|
|
59 |
st.title("2 - Model architecture")
|
60 |
st.markdown("Most code generation models use GPT style architectures trained on code. Some use encoder-decoder architectures such as AlphaCode.")
|
61 |
st.header("Model")
|
62 |
-
|
|
|
63 |
"Select a code generation model", MODELS, key=2
|
64 |
)
|
65 |
with open(f"architectures/{selected_model.lower()}.txt", "r") as f:
|
@@ -77,7 +78,8 @@ st.markdown(intro)
|
|
77 |
# Code generation
|
78 |
st.title("4 - Code generation 💻")
|
79 |
st.header("Models")
|
80 |
-
|
|
|
81 |
"Select code generation models to compare", MODELS, default=["CodeParrot"], key=3
|
82 |
)
|
83 |
st.header("Examples")
|
|
|
59 |
st.title("2 - Model architecture")
|
60 |
st.markdown("Most code generation models use GPT style architectures trained on code. Some use encoder-decoder architectures such as AlphaCode.")
|
61 |
st.header("Model")
|
62 |
+
with col1:
|
63 |
+
selected_model = st.selectbox(
|
64 |
"Select a code generation model", MODELS, key=2
|
65 |
)
|
66 |
with open(f"architectures/{selected_model.lower()}.txt", "r") as f:
|
|
|
78 |
# Code generation
|
79 |
st.title("4 - Code generation 💻")
|
80 |
st.header("Models")
|
81 |
+
with col1:
|
82 |
+
selected_models = st.multiselect(
|
83 |
"Select code generation models to compare", MODELS, default=["CodeParrot"], key=3
|
84 |
)
|
85 |
st.header("Examples")
|