Spaces:
Sleeping
Sleeping
Commit
·
be8fbc5
1
Parent(s):
128ec56
Updated readme
Browse files
README.md
CHANGED
@@ -10,4 +10,13 @@ pinned: false
|
|
10 |
license: mit
|
11 |
---
|
12 |
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
license: mit
|
11 |
---
|
12 |
|
13 |
+
# App for text generation using nanoGPT
|
14 |
+
|
15 |
+
## Features
|
16 |
+
- Input/output text: Write some word(s) and read the output
|
17 |
+
- Max Character: Maximum character to generate
|
18 |
+
|
19 |
+
## Usage
|
20 |
+
- Enter word(s)
|
21 |
+
- Change Max Character
|
22 |
+
- Hit submit and read result
|
app.py
CHANGED
@@ -46,7 +46,7 @@ demo = gr.Interface(
|
|
46 |
inference,
|
47 |
inputs = [
|
48 |
gr.Textbox(label="Enter any word", type="text"),
|
49 |
-
gr.Slider(minimum=100, maximum=2000, step=50, value=200, label="Max
|
50 |
],
|
51 |
outputs = [
|
52 |
gr.Textbox(label="Output", type="text")
|
|
|
46 |
inference,
|
47 |
inputs = [
|
48 |
gr.Textbox(label="Enter any word", type="text"),
|
49 |
+
gr.Slider(minimum=100, maximum=2000, step=50, value=200, label="Max Character")
|
50 |
],
|
51 |
outputs = [
|
52 |
gr.Textbox(label="Output", type="text")
|