Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ top_k = gr.Slider(minimum=0, maximum=1000, step=1, value=100, label="Top K")
|
|
| 17 |
max_new_tokens = gr.Slider(minimum=1, maximum=4096, step=1, value=512, label="Max Tokens")
|
| 18 |
|
| 19 |
# Output for the interface
|
| 20 |
-
response = gr.
|
| 21 |
|
| 22 |
# Examples for the interface
|
| 23 |
examples = [
|
|
|
|
| 17 |
max_new_tokens = gr.Slider(minimum=1, maximum=4096, step=1, value=512, label="Max Tokens")
|
| 18 |
|
| 19 |
# Output for the interface
|
| 20 |
+
response = gr.TextArea(label="Predicted answer", show_label=True, show_copy_button=True)
|
| 21 |
|
| 22 |
# Examples for the interface
|
| 23 |
examples = [
|