Spaces:
Runtime error
Runtime error
heecheol.park commited on
Commit ·
57cc534
1
Parent(s): 931b7f6
Add copy button to Shuffled Text output.
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def main():
|
|
| 11 |
iface = gr.Interface(
|
| 12 |
fn=shuffle_text,
|
| 13 |
inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
|
| 14 |
-
outputs=gr.outputs.Textbox(label="Shuffled Text"),
|
| 15 |
title="Text Shuffler",
|
| 16 |
description="Enter text and get it shuffled line by line.",
|
| 17 |
)
|
|
|
|
| 11 |
iface = gr.Interface(
|
| 12 |
fn=shuffle_text,
|
| 13 |
inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
|
| 14 |
+
outputs=gr.outputs.Textbox(label="Shuffled Text").style(show_copy_button=True),
|
| 15 |
title="Text Shuffler",
|
| 16 |
description="Enter text and get it shuffled line by line.",
|
| 17 |
)
|