Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,21 +1,25 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
-
It provides an "Analyze → Rewrite" mode where the model first reviews the input and then generates an optimized rewrite.
|
| 5 |
|
| 6 |
-
|
| 7 |
-
- Analyze input code or prompt (bugs, edge-cases, security, performance).
|
| 8 |
-
- Produce an optimized rewritten version ready to run or feed into other models.
|
| 9 |
-
- Full user control over model name, max_new_tokens, temperature, top_p, top_k.
|
| 10 |
-
- Ready for deployment on Hugging Face Spaces (Gradio).
|
| 11 |
|
| 12 |
-
##
|
| 13 |
-
-
|
| 14 |
-
-
|
| 15 |
-
-
|
|
|
|
| 16 |
|
| 17 |
-
##
|
| 18 |
-
1.
|
| 19 |
-
2.
|
| 20 |
-
|
| 21 |
-
export HF_API_TOKEN="your_token_here"
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: odyssey-coder
|
| 3 |
+
emoji: 🤖
|
| 4 |
+
colorFrom: gray
|
| 5 |
+
colorTo: green
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: "3.50"
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
|
| 12 |
+
# Odyssey Coder — AI Coding Assistant
|
|
|
|
| 13 |
|
| 14 |
+
This Gradio-based app connects to Hugging Face models (like Qwen2.5-Coder-32B) using your HF_API_TOKEN.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
+
## Features
|
| 17 |
+
- Analyze input code or prompt
|
| 18 |
+
- Rewrite and optimize code or prompt
|
| 19 |
+
- Control model settings: max_tokens, temperature, top_p, top_k
|
| 20 |
+
- Public usage with token stored safely in Secrets
|
| 21 |
|
| 22 |
+
## Usage
|
| 23 |
+
1. Ensure `requirements.txt` is installed
|
| 24 |
+
2. Set your HF token in Secrets as `HF_API_TOKEN`
|
| 25 |
+
3. Run `app.py` or use directly on Hugging Face Space
|
|
|