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