Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -90,6 +90,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
90 |
"""
|
91 |
# Superposed Decoding
|
92 |
Start typing below to see suggestions.
|
|
|
93 |
""")
|
94 |
slider = gr.Slider(minimum=1, maximum=10, step=1, label="Generation length", value=10)
|
95 |
inp = gr.Textbox(placeholder="Type anything!", lines=3)
|
|
|
90 |
"""
|
91 |
# Superposed Decoding
|
92 |
Start typing below to see suggestions.
|
93 |
+
Note: This demo only uses n=[2, 3, 4] n-grams as opposed to n=[2, 3, 4, 5, 6] in the paper. In addition, There may be significant latency at times because a GPU must be re-aquired after every change.
|
94 |
""")
|
95 |
slider = gr.Slider(minimum=1, maximum=10, step=1, label="Generation length", value=10)
|
96 |
inp = gr.Textbox(placeholder="Type anything!", lines=3)
|