teo-sanchez commited on
Commit
a42ad8f
·
1 Parent(s): d4ce80d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -2,10 +2,18 @@ import gradio as gr
2
 
3
  iface = gr.Interface.load("models/teo-sanchez/en_ner_prompting",
4
  title = 'Prompt specifier recognizer by Selas.ai\n ![https://www.selas.ai](https://www.selas.ai/assets/logo-selas-dark.61f4b5c4.svg)',
5
- description="Recognize the type of specifiers within a prompt for text-to-image generation",
 
 
 
 
 
6
  examples=[["Hyperrealistic dslr film still of a cute calico cat, stunning 8 k octane comprehensive 3 d render, inspired by istvan sandorfi & greg rutkowski & unreal engine, perfect symmetry, dim volumetric cinematic lighting, extremely hyper - detailed, incredibly real lifelike attributes & flesh texture, intricate, masterpiece, artstation, stunning"],
7
  ["Quetzalcoatl in an epic battle with garuda, fantasy, stained glass, d & d, intricate, elegant, highly detailed, digital painting, artstation, concept art, matte, sharp focus, illustration, art by john collier and albert aublet and krenz cushart and artem demura and alphonse mucha"]],
8
  live = True,
 
 
 
9
  )
10
  iface.input_components[0].label = "Copy-paste an AI prompt you'd like to analyze"
11
  iface.output_components[0].label = "Entity recognized in the prompt"
 
2
 
3
  iface = gr.Interface.load("models/teo-sanchez/en_ner_prompting",
4
  title = 'Prompt specifier recognizer by Selas.ai\n ![https://www.selas.ai](https://www.selas.ai/assets/logo-selas-dark.61f4b5c4.svg)',
5
+ description='''<div align="center">
6
+ <a href="https://www.selas.ai">
7
+ <img src="https://www.selas.ai/assets/logo-selas-dark.61f4b5c4.svg" alt="Logo of selas.ai", >
8
+ </a>
9
+ Lightweight model that recognize the type of specifiers within a prompt for text-to-image generation.
10
+ </div>''',
11
  examples=[["Hyperrealistic dslr film still of a cute calico cat, stunning 8 k octane comprehensive 3 d render, inspired by istvan sandorfi & greg rutkowski & unreal engine, perfect symmetry, dim volumetric cinematic lighting, extremely hyper - detailed, incredibly real lifelike attributes & flesh texture, intricate, masterpiece, artstation, stunning"],
12
  ["Quetzalcoatl in an epic battle with garuda, fantasy, stained glass, d & d, intricate, elegant, highly detailed, digital painting, artstation, concept art, matte, sharp focus, illustration, art by john collier and albert aublet and krenz cushart and artem demura and alphonse mucha"]],
13
  live = True,
14
+ article = '''
15
+ <img src="https://www.selas.ai/assets/logo-selas-dark.61f4b5c4.svg" alt="Specifier taxonomy", >
16
+ '''
17
  )
18
  iface.input_components[0].label = "Copy-paste an AI prompt you'd like to analyze"
19
  iface.output_components[0].label = "Entity recognized in the prompt"