Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -43,16 +43,17 @@ st.markdown(intro)
|
|
43 |
|
44 |
# Pretraining datasets
|
45 |
st.subheader("1 - Pretraining datasets")
|
46 |
-
|
47 |
-
|
48 |
-
)
|
49 |
-
|
50 |
-
|
|
|
|
|
|
|
51 |
col1, col2= st.columns([1,2])
|
52 |
with col1:
|
53 |
-
selected_model = st.selectbox(
|
54 |
-
"Select a code generation model", MODELS, key=1
|
55 |
-
)
|
56 |
with open(f"datasets/{selected_model.lower()}.txt", "r") as f:
|
57 |
text = f.read()
|
58 |
st.markdown(text)
|
|
|
43 |
|
44 |
# Pretraining datasets
|
45 |
st.subheader("1 - Pretraining datasets")
|
46 |
+
with open("datasets/intro.txt", "r") as f:
|
47 |
+
intro = f.read()
|
48 |
+
st.sidebar.markdown(intro)
|
49 |
+
#st.markdown(
|
50 |
+
# f"Preview of some code files from Github repositories in [Github-code dataset]({GITHUB_CODE}):"
|
51 |
+
#)
|
52 |
+
#df = pd.read_csv("utils/data_preview.csv")
|
53 |
+
#st.dataframe(df)
|
54 |
col1, col2= st.columns([1,2])
|
55 |
with col1:
|
56 |
+
selected_model = st.selectbox(" ", MODELS, key=1)
|
|
|
|
|
57 |
with open(f"datasets/{selected_model.lower()}.txt", "r") as f:
|
58 |
text = f.read()
|
59 |
st.markdown(text)
|