Download app.py from gimbx/Uncensored-HackerCoding-GPT: direct link, hf CLI and curl.
- Browser
- Download file 294 Bytes
-
https://huggingface.co/spaces/gimbx/Uncensored-HackerCoding-GPT/resolve/refs%2Fpr%2F21/app.py
- Command line
-
hf download hf://spaces/gimbx/Uncensored-HackerCoding-GPT@refs/pr/21/app.py
-
curl -L -o app.py https://huggingface.co/spaces/gimbx/Uncensored-HackerCoding-GPT/resolve/refs%2Fpr%2F21/app.py
294 Bytes
| import streamlit as st | |
| def generate_code(prompt): | |
| # Replace this with your Hugging Face function | |
| return f"Generated Code for: {prompt}" | |
| st.title("Code Assistant") | |
| user_input = st.text_input("Enter your coding prompt") | |
| if st.button("Generate"): | |
| st.write(generate_code(user_input)) | |