os-odyssey commited on
Commit
47601c9
·
verified ·
1 Parent(s): 57160bf

Create requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +21 -0
requirements.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # odyssey — Coding Assistant & Rewriter (Gradio / Hugging Face Space)
2
+
3
+ A simple Gradio app that uses Hugging Face models (for example: Qwen2.5-Coder-32B) via the Hugging Face Inference API.
4
+ It provides an "Analyze → Rewrite" mode where the model first reviews the input and then generates an optimized rewrite.
5
+
6
+ ## Features
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
+ ## Files
13
+ - `app.py` : main Gradio application
14
+ - `requirements.txt` : Python dependencies
15
+ - `README.md` : this file
16
+
17
+ ## Run locally (using Hugging Face Inference API)
18
+ 1. Create a Hugging Face API token at https://huggingface.co/settings/tokens
19
+ 2. Export token as an environment variable or provide it in the UI:
20
+ ```bash
21
+ export HF_API_TOKEN="your_token_here"