druvx13 commited on
Commit
d10d67d
·
verified ·
1 Parent(s): 695ee9e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +26 -1
README.md CHANGED
@@ -9,4 +9,29 @@ app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  pinned: false
10
  ---
11
 
12
+ # GPT Text Generation App
13
+
14
+ Deployable Gradio app using `openai-community/openai-gpt` on CPU
15
+
16
+ ## Features
17
+ - Prompt input
18
+ - Adjustable generation parameters: max length, temperature, top-k, top-p, repetition penalty
19
+ - Optional seed for reproducibility
20
+ - Multiple outputs per prompt
21
+ - Chat history state
22
+ - Clear history button
23
+ - Export history to JSON
24
+
25
+ ## Setup
26
+ 1. Clone repository
27
+ 2. `pip install -r requirements.txt`
28
+ 3. `python app.py`
29
+
30
+ Access UI at `http://localhost:7860`
31
+
32
+ ## Deployment on HuggingFace Spaces
33
+ - Create new Space (Gradio SDK)
34
+ - Upload files
35
+ - HF auto-installs `requirements.txt`
36
+ - Launch
37
+