Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ def update_output_and_copy(text):
|
|
72 |
iface = gr.Interface(
|
73 |
fn=generate,
|
74 |
inputs=gr.Textbox(lines=2, placeholder="Enter text here..."),
|
75 |
-
outputs=gr.Textbox(visible=
|
76 |
title="Chuunibyou Text Generator",
|
77 |
description="Transform text into an elaborate and formal style with a Chuunibyou tone."
|
78 |
)
|
@@ -81,9 +81,9 @@ iface_with_button = gr.Blocks()
|
|
81 |
|
82 |
with iface_with_button:
|
83 |
textbox = gr.Textbox(lines=2, placeholder="Enter text here...")
|
84 |
-
output = gr.Textbox(visible=
|
85 |
submit_button = gr.Button("Submit")
|
86 |
-
copy_message = gr.Textbox(visible=
|
87 |
|
88 |
submit_button.click(
|
89 |
fn=update_output_and_copy,
|
|
|
72 |
iface = gr.Interface(
|
73 |
fn=generate,
|
74 |
inputs=gr.Textbox(lines=2, placeholder="Enter text here..."),
|
75 |
+
outputs=gr.Textbox(visible=True),
|
76 |
title="Chuunibyou Text Generator",
|
77 |
description="Transform text into an elaborate and formal style with a Chuunibyou tone."
|
78 |
)
|
|
|
81 |
|
82 |
with iface_with_button:
|
83 |
textbox = gr.Textbox(lines=2, placeholder="Enter text here...")
|
84 |
+
output = gr.Textbox(visible=True)
|
85 |
submit_button = gr.Button("Submit")
|
86 |
+
copy_message = gr.Textbox(visible=True)
|
87 |
|
88 |
submit_button.click(
|
89 |
fn=update_output_and_copy,
|