Spaces:
Build error
Build error
Commit ·
6fca7cb
1
Parent(s): cd35815
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def clear_text(input_text):
|
|
| 11 |
|
| 12 |
iface = gr.Interface(
|
| 13 |
fn=generate_text,
|
| 14 |
-
inputs=gr.inputs.Textbox(prompt="
|
| 15 |
outputs=gr.outputs.Textbox(label="Generated Text", lines=5),
|
| 16 |
title="Text Generator",
|
| 17 |
theme="compact"
|
|
@@ -21,4 +21,3 @@ iface = gr.Interface(
|
|
| 21 |
iface.add_input("textbox", label="Clear", type="textbox", lines=1, placeholder="Clear text")
|
| 22 |
|
| 23 |
iface.launch()
|
| 24 |
-
|
|
|
|
| 11 |
|
| 12 |
iface = gr.Interface(
|
| 13 |
fn=generate_text,
|
| 14 |
+
inputs=gr.inputs.Textbox(prompt="Input Text", lines=5, placeholder="Enter text here..."),
|
| 15 |
outputs=gr.outputs.Textbox(label="Generated Text", lines=5),
|
| 16 |
title="Text Generator",
|
| 17 |
theme="compact"
|
|
|
|
| 21 |
iface.add_input("textbox", label="Clear", type="textbox", lines=1, placeholder="Clear text")
|
| 22 |
|
| 23 |
iface.launch()
|
|
|