add resources
Browse files
app.py
CHANGED
@@ -33,15 +33,13 @@ def read_markdown(path):
|
|
33 |
st.markdown(output, unsafe_allow_html=True)
|
34 |
|
35 |
st.set_page_config(page_icon=":laptop:", layout="wide")
|
36 |
-
with open(
|
37 |
contents = f.read()
|
38 |
st.sidebar.markdown(contents)
|
39 |
|
40 |
# Introduction
|
41 |
st.title("Code generation with 🤗")
|
42 |
-
|
43 |
-
intro = f.read()
|
44 |
-
st.markdown(intro)
|
45 |
|
46 |
# Pretraining datasets
|
47 |
st.subheader("1 - Code datasets")
|
@@ -122,3 +120,7 @@ if st.button("Generate code!"):
|
|
122 |
for i in range(len(output)):
|
123 |
st.markdown(f"**{selected_models[i]}**")
|
124 |
st.code(output[i])
|
|
|
|
|
|
|
|
|
|
33 |
st.markdown(output, unsafe_allow_html=True)
|
34 |
|
35 |
st.set_page_config(page_icon=":laptop:", layout="wide")
|
36 |
+
with open(, "r") as f:
|
37 |
contents = f.read()
|
38 |
st.sidebar.markdown(contents)
|
39 |
|
40 |
# Introduction
|
41 |
st.title("Code generation with 🤗")
|
42 |
+
read_markdown("utils/intro.txt")
|
|
|
|
|
43 |
|
44 |
# Pretraining datasets
|
45 |
st.subheader("1 - Code datasets")
|
|
|
120 |
for i in range(len(output)):
|
121 |
st.markdown(f"**{selected_models[i]}**")
|
122 |
st.code(output[i])
|
123 |
+
|
124 |
+
# Resources
|
125 |
+
st.subheader("Resources")
|
126 |
+
read_markdown("utils/resources.txt")
|