Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,10 +21,13 @@ iface = gr.Interface(
|
|
21 |
fn=generate_text,
|
22 |
inputs=gr.Textbox(lines=5, label="Prompt"),
|
23 |
outputs=gr.Textbox(label="Output", show_copy_button=True),
|
24 |
-
title="
|
25 |
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.",
|
26 |
api_name="predict"
|
27 |
)
|
28 |
|
|
|
|
|
|
|
29 |
# Launch the interface
|
30 |
iface.launch(show_api=True)
|
|
|
21 |
fn=generate_text,
|
22 |
inputs=gr.Textbox(lines=5, label="Prompt"),
|
23 |
outputs=gr.Textbox(label="Output", show_copy_button=True),
|
24 |
+
title="AI Art Prompt Generator",
|
25 |
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.",
|
26 |
api_name="predict"
|
27 |
)
|
28 |
|
29 |
+
# Integrate external CSS
|
30 |
+
iface.stylesheets.append("styles.css")
|
31 |
+
|
32 |
# Launch the interface
|
33 |
iface.launch(show_api=True)
|