Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -87,22 +87,22 @@ def is_coding_question(question):
|
|
87 |
return False
|
88 |
|
89 |
# --- STREAMLIT APP ---
|
90 |
-
st.set_page_config(page_title="
|
91 |
-
st.title("
|
92 |
|
93 |
# Navigation
|
94 |
-
page = st.sidebar.radio("Navigate", ["Home", "
|
95 |
|
96 |
if page == "Home":
|
97 |
-
st.header("Welcome to the
|
98 |
st.markdown("""
|
99 |
-
- **Full
|
100 |
- **Semantic Search:** Ask natural language questions about your code and get intelligent answers
|
101 |
""")
|
102 |
st.info("Select a feature from the sidebar to get started.")
|
103 |
|
104 |
-
elif page == "
|
105 |
-
st.header("Full
|
106 |
code_input = st.text_area("Paste your code here", height=200)
|
107 |
uploaded_file = st.file_uploader("Or upload a code file", type=["py", "js", "ts", "java", "cpp", "cs"])
|
108 |
if uploaded_file:
|
|
|
87 |
return False
|
88 |
|
89 |
# --- STREAMLIT APP ---
|
90 |
+
st.set_page_config(page_title="Code Workflows", layout="wide")
|
91 |
+
st.title("Code Genie")
|
92 |
|
93 |
# Navigation
|
94 |
+
page = st.sidebar.radio("Navigate", ["Home", "Code Workflows", "Semantic Search", "Code Comment Generator"])
|
95 |
|
96 |
if page == "Home":
|
97 |
+
st.header("Welcome to the Code Genie!")
|
98 |
st.markdown("""
|
99 |
+
- **Full Code Workflow:** Complete code analysis pipeline with explanation, refactoring, review, and testing (powered by Groq/Blackbox)
|
100 |
- **Semantic Search:** Ask natural language questions about your code and get intelligent answers
|
101 |
""")
|
102 |
st.info("Select a feature from the sidebar to get started.")
|
103 |
|
104 |
+
elif page == "Code Workflow":
|
105 |
+
st.header("Full Code Workflow")
|
106 |
code_input = st.text_area("Paste your code here", height=200)
|
107 |
uploaded_file = st.file_uploader("Or upload a code file", type=["py", "js", "ts", "java", "cpp", "cs"])
|
108 |
if uploaded_file:
|