kumar1907 commited on
Commit
e7e05b0
·
verified ·
1 Parent(s): 88f75c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -3,10 +3,17 @@ from code_reviewer import review_code
3
  from pr_fetcher import fetch_pr_diff
4
 
5
  # -----------------------------
6
- # Streamlit Page Config
7
  # -----------------------------
8
- st.set_page_config(page_title="Code Review Agent", page_icon="🤖", layout="wide")
 
 
 
 
9
 
 
 
 
10
  st.title("🤖 Code Review Agent (Hugging Face Edition)")
11
  st.write("Fetch a Pull Request from GitHub and get **AI-powered review + improved code**")
12
 
 
3
  from pr_fetcher import fetch_pr_diff
4
 
5
  # -----------------------------
6
+ # Page Config (must be first Streamlit command)
7
  # -----------------------------
8
+ st.set_page_config(
9
+ page_title="Code Review Agent",
10
+ page_icon="🤖",
11
+ layout="wide"
12
+ )
13
 
14
+ # -----------------------------
15
+ # App Title
16
+ # -----------------------------
17
  st.title("🤖 Code Review Agent (Hugging Face Edition)")
18
  st.write("Fetch a Pull Request from GitHub and get **AI-powered review + improved code**")
19