Spaces:
Sleeping
Download README.md from ejschwartz/degpt: direct link, hf CLI and curl.
- Browser
- Download file 1.47 kB
-
https://huggingface.co/spaces/ejschwartz/degpt/resolve/main/README.md
- Command line
-
hf download hf://spaces/ejschwartz/degpt/README.md
-
curl -L -o README.md https://huggingface.co/spaces/ejschwartz/degpt/resolve/main/README.md
A newer version of the Gradio SDK is available: 6.33.0
title: DeGPT
emoji: 🔍
colorFrom: blue
colorTo: gray
sdk: gradio
sdk_version: 6.32.0
python_version: '3.10'
app_file: app.py
pinned: false
DeGPT
The original code editor starts with a Fibonacci example. Run it as-is or replace it with one decompiled C function. Automatic uses DeGPT’s referee to choose which passes to run. You can also run variable renaming, comments, or simplification individually.
The default model is gpt-4.1-mini on OpenAI. You can choose another model or enter a model ID. To use an OpenAI-compatible provider, enter its public HTTPS API base URL on port 443, its model ID, and a key issued by that provider.
Each run sends your code and API key to the selected provider and is billed to that key. The password field keeps your key between runs until you clear it or reload the page. The server uses it only for each request and does not write chat logs. Review the revision before using it, since model edits may change behavior.
Based on DeGPT by Peiwei Hu, Ruigang Liang, and Kai Chen. The Space retrieves pinned upstream sources at startup and uses DeGPT’s original prompts and cleanup roles.
Run locally
Use Python 3.10 and a C compiler (cc).
python -m venv .venv
. .venv/bin/activate
python -m pip install gradio==6.32.0 -r requirements.txt
python app.py
Open http://127.0.0.1:7860. Run python -m unittest to test the workflow with mocked model replies.