Spaces:
Runtime error
Runtime error
Update app.py
#5
by
Coppaaron
- opened
app.py
CHANGED
@@ -50,10 +50,10 @@ https://betterprogramming.pub/i-beta-tested-openais-codex-and-the-results-are-sp
|
|
50 |
https://beta.openai.com/examples?category=code'''
|
51 |
|
52 |
|
53 |
-
iface = gr.Interface( happytt,[ gr.
|
54 |
-
gr.
|
55 |
label="input prompt"),
|
56 |
-
gr.
|
57 |
label="list of tokens, when to finish generating",
|
58 |
placeholder='["<code>", "import"]')],"text", title = title, description = description )
|
59 |
iface.launch(debug=True)
|
|
|
50 |
https://beta.openai.com/examples?category=code'''
|
51 |
|
52 |
|
53 |
+
iface = gr.Interface( happytt,[ gr.Slider(0, 1, step=0.1),gr.Slider(150, 4000, step=1),
|
54 |
+
gr.Textbox(type='str',
|
55 |
label="input prompt"),
|
56 |
+
gr.Textbox(type='str',
|
57 |
label="list of tokens, when to finish generating",
|
58 |
placeholder='["<code>", "import"]')],"text", title = title, description = description )
|
59 |
iface.launch(debug=True)
|