Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,10 +3,17 @@ from code_reviewer import review_code
|
|
| 3 |
from pr_fetcher import fetch_pr_diff
|
| 4 |
|
| 5 |
# -----------------------------
|
| 6 |
-
#
|
| 7 |
# -----------------------------
|
| 8 |
-
st.set_page_config(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|