Pharma commited on
Commit
a7babaf
β€’
1 Parent(s): de667db

Renamed to Stable Diffusion Prism and updated description

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -46,11 +46,10 @@ css = '''
46
  with gr.Blocks(css=css) as demo:
47
  gr.Markdown(
48
  """
49
- ## Stable Diffusion Perception πŸŽ†πŸŒŒ
50
- Want to figure out what a good prompt might be to create new images like an existing one?
51
 
52
- Use [CLIP Interrogator](https://huggingface.co/spaces/pharma/CLIP-Interrogator) to generate a prompt.
53
- Afterward, you can use Stable Diffusion to generate images based on the prompt.
54
  """
55
  )
56
 
@@ -58,11 +57,11 @@ with gr.Blocks(css=css) as demo:
58
  with gr.Column():
59
  input_img = gr.Image(type="filepath", elem_id="input-img")
60
  with gr.Row():
61
- see_prompts = gr.Button("Check how your image prompts your model!")
62
 
63
  with gr.Column():
64
  img2text_output = gr.Textbox(
65
- label="Convert your image to text!",
66
  lines=4,
67
  elem_id="translated"
68
  )
 
46
  with gr.Blocks(css=css) as demo:
47
  gr.Markdown(
48
  """
49
+ ## Stable Diffusion Prism πŸŽ†πŸŒŒ
 
50
 
51
+ Sends an image in to [CLIP Interrogator](https://huggingface.co/spaces/pharma/CLIP-Interrogator)
52
+ to generate a text prompt which is then run through Stable Diffusion to generate new forms of the original!
53
  """
54
  )
55
 
 
57
  with gr.Column():
58
  input_img = gr.Image(type="filepath", elem_id="input-img")
59
  with gr.Row():
60
+ see_prompts = gr.Button("Feed in your image!")
61
 
62
  with gr.Column():
63
  img2text_output = gr.Textbox(
64
+ label="Generated text prompt",
65
  lines=4,
66
  elem_id="translated"
67
  )