Spaces:
Runtime error
Runtime error
Commit
·
59e9d2e
1
Parent(s):
f670c93
Update app.py
Browse files
app.py
CHANGED
@@ -624,7 +624,7 @@ def speak(input, tokenLength):
|
|
624 |
|
625 |
model = gr.Interface(fn=speak,
|
626 |
theme = 'dark',
|
627 |
-
inputs=[gr.Textbox(label = "initial text", placeholder="To be or not to be"), gr.Slider(
|
628 |
outputs="text",
|
629 |
title = "speak shakespeare, speak!",
|
630 |
description = "a miniature shakespeare, built from scratch. Decoder-Only Transformer trained on shakespeare's works.\n many, but not all, words are tokenizable - if you get an error, try again with different words!")
|
|
|
624 |
|
625 |
model = gr.Interface(fn=speak,
|
626 |
theme = 'dark',
|
627 |
+
inputs=[gr.Textbox(label = "initial text", placeholder="To be or not to be"), gr.Slider(20, 40, step=1, value=40)],
|
628 |
outputs="text",
|
629 |
title = "speak shakespeare, speak!",
|
630 |
description = "a miniature shakespeare, built from scratch. Decoder-Only Transformer trained on shakespeare's works.\n many, but not all, words are tokenizable - if you get an error, try again with different words!")
|