Spaces:
Running
Running
updated header to add link to repo
Browse files
app.py
CHANGED
@@ -12,8 +12,13 @@ def load_json_file(file_path):
|
|
12 |
def read_code_from_file(uploaded_file):
|
13 |
return uploaded_file.getvalue().decode("utf-8")
|
14 |
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
# Assuming app.py and mock_codefiles.json are in the same directory
|
19 |
json_file_path = os.path.join(os.path.dirname(__file__), 'mock_codefiles.json')
|
|
|
12 |
def read_code_from_file(uploaded_file):
|
13 |
return uploaded_file.getvalue().decode("utf-8")
|
14 |
|
15 |
+
col1, col2 = st.columns(2)
|
16 |
+
|
17 |
+
with col1:
|
18 |
+
# Setup Streamlit page
|
19 |
+
st.set_page_config(page_title="Cintra Code Chunker", layout="wide")
|
20 |
+
with col2:
|
21 |
+
st.markdown('Interested in contributing? Check out our [GitHub repository](https://github.com/CintraAI/code-chunker) and help us improve!', unsafe_allow_html=True)
|
22 |
|
23 |
# Assuming app.py and mock_codefiles.json are in the same directory
|
24 |
json_file_path = os.path.join(os.path.dirname(__file__), 'mock_codefiles.json')
|