Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,10 +2,11 @@ import streamlit as st
|
|
| 2 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 3 |
from huggingface_hub import Repository
|
| 4 |
import os
|
|
|
|
| 5 |
|
| 6 |
-
#
|
| 7 |
-
|
| 8 |
-
|
| 9 |
|
| 10 |
# Streamlit App Title
|
| 11 |
st.title("AI Coding Mentor")
|
|
|
|
| 2 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 3 |
from huggingface_hub import Repository
|
| 4 |
import os
|
| 5 |
+
from huggingface_hub import Repository
|
| 6 |
|
| 7 |
+
repo_name = "krisha06/Python_tutor" # Replace with your own username and repo name
|
| 8 |
+
repo = Repository(local_dir="./tuned_model", clone_from=repo_name)
|
| 9 |
+
repo.push_to_hub()
|
| 10 |
|
| 11 |
# Streamlit App Title
|
| 12 |
st.title("AI Coding Mentor")
|