djrana commited on
Commit
7de1eac
1 Parent(s): 2a10b1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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="<span style='background-image: linear-gradient(to right, #ff7e5f, #feb47b, #ffdb93, #fffbac); -webkit-background-clip: text; -webkit-text-fill-color: transparent;'><center>AI Art Prompt Generator</center></span>",
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)