Naz786 commited on
Commit
b36d2b4
·
verified ·
1 Parent(s): 28480da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -3,6 +3,9 @@ import streamlit as st
3
  from groq import Groq
4
  import os
5
 
 
 
 
6
  # --- Custom CSS for Professional Look ---
7
  st.markdown("""
8
  <style>
@@ -214,7 +217,6 @@ def agentic_workflow(code, skill_level, programming_language, explanation_langua
214
 
215
  return timeline, suggestions
216
 
217
- st.set_page_config(page_title="AI Code Assistant", layout="wide")
218
  st.markdown(
219
  "<h2 style='text-align: center; color: #22304a; font-weight: 600; margin-bottom: 0.5em;'>AI Code Assistant</h2>",
220
  unsafe_allow_html=True
 
3
  from groq import Groq
4
  import os
5
 
6
+ # --- Set page config FIRST! ---
7
+ st.set_page_config(page_title="AI Code Assistant", layout="wide")
8
+
9
  # --- Custom CSS for Professional Look ---
10
  st.markdown("""
11
  <style>
 
217
 
218
  return timeline, suggestions
219
 
 
220
  st.markdown(
221
  "<h2 style='text-align: center; color: #22304a; font-weight: 600; margin-bottom: 0.5em;'>AI Code Assistant</h2>",
222
  unsafe_allow_html=True