Spaces:
Sleeping
Sleeping
GitHub Actions commited on
Commit ·
20f021f
1
Parent(s): 19fafb9
Sync from GitHub Actions
Browse files
app.py
CHANGED
|
@@ -21,11 +21,11 @@ def load_pipeline():
|
|
| 21 |
pipeline = load_pipeline()
|
| 22 |
|
| 23 |
st.title("🤖 CodeInsight Assistant")
|
| 24 |
-
st.caption("Your fine-tuned
|
| 25 |
st.divider()
|
| 26 |
|
| 27 |
st.markdown(
|
| 28 |
-
"Welcome! This assistant is powered by a **fine-tuned
|
| 29 |
"to help you with Python programming tasks. Ask it to generate code, "
|
| 30 |
"explain concepts, or refactor snippets."
|
| 31 |
)
|
|
@@ -35,7 +35,6 @@ with col1:
|
|
| 35 |
st.subheader("🚀 What it can do")
|
| 36 |
st.markdown("""
|
| 37 |
* **Generate Code:** "Write a function to merge two dictionaries."
|
| 38 |
-
* **Explain Concepts:** "What is a Python decorator and how do I use one?"
|
| 39 |
* **Refactor/Debug:** "Can you make this 'for' loop more efficient?"
|
| 40 |
""")
|
| 41 |
|
|
@@ -43,7 +42,6 @@ with col2:
|
|
| 43 |
st.subheader("⚠️ Important Limitations")
|
| 44 |
st.warning("""
|
| 45 |
* The model may occasionally produce incorrect or inefficient code.
|
| 46 |
-
* Always review and test generated code.
|
| 47 |
* Knowledge is limited to the model's training data.
|
| 48 |
""")
|
| 49 |
st.divider()
|
|
|
|
| 21 |
pipeline = load_pipeline()
|
| 22 |
|
| 23 |
st.title("🤖 CodeInsight Assistant")
|
| 24 |
+
st.caption("Your fine-tuned Phi-3-mini-128k-instruct model, ready to help with Python.")
|
| 25 |
st.divider()
|
| 26 |
|
| 27 |
st.markdown(
|
| 28 |
+
"Welcome! This assistant is powered by a **fine-tuned Phi-3-mini-128k-instruct model** "
|
| 29 |
"to help you with Python programming tasks. Ask it to generate code, "
|
| 30 |
"explain concepts, or refactor snippets."
|
| 31 |
)
|
|
|
|
| 35 |
st.subheader("🚀 What it can do")
|
| 36 |
st.markdown("""
|
| 37 |
* **Generate Code:** "Write a function to merge two dictionaries."
|
|
|
|
| 38 |
* **Refactor/Debug:** "Can you make this 'for' loop more efficient?"
|
| 39 |
""")
|
| 40 |
|
|
|
|
| 42 |
st.subheader("⚠️ Important Limitations")
|
| 43 |
st.warning("""
|
| 44 |
* The model may occasionally produce incorrect or inefficient code.
|
|
|
|
| 45 |
* Knowledge is limited to the model's training data.
|
| 46 |
""")
|
| 47 |
st.divider()
|