Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def generate_text(prompt):
|
|
22 |
iface = gr.Interface(
|
23 |
fn=generate_text,
|
24 |
inputs=gr.Textbox(lines=5, label="Prompt"),
|
25 |
-
outputs=[gr.Textbox(label="Output
|
26 |
title="AI Art Prompt Generator",
|
27 |
description="Art Prompt Generator is a user-friendly interface designed to optimize input for AI Art Generator or Creator. For faster generation speeds, it's recommended to load the model locally with GPUs, as the online demo at Hugging Face Spaces utilizes CPU, resulting in slower processing times.",
|
28 |
api_name="predict"
|
|
|
22 |
iface = gr.Interface(
|
23 |
fn=generate_text,
|
24 |
inputs=gr.Textbox(lines=5, label="Prompt"),
|
25 |
+
outputs=[gr.Textbox(label="Output", show_copy_button=True)],
|
26 |
title="AI Art Prompt Generator",
|
27 |
description="Art Prompt Generator is a user-friendly interface designed to optimize input for AI Art Generator or Creator. For faster generation speeds, it's recommended to load the model locally with GPUs, as the online demo at Hugging Face Spaces utilizes CPU, resulting in slower processing times.",
|
28 |
api_name="predict"
|