mlnotes commited on
Commit
e0f1d46
1 Parent(s): d10dbbb

ADD visitor badge

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -57,7 +57,9 @@ with gr.Blocks() as demo:
57
  get_image_latent = gr.Button("Generate Image", css={"margin-top": "1em"})
58
  with gr.Row():
59
  gr.Markdown("<a href='https://huggingface.co/spaces/merve/GPT-2-story-gen' target='_blank'>Story generation with GPT-2</a>, and text to image by <a href='https://huggingface.co/spaces/multimodalart/latentdiffusion' target='_blank'>Latent Diffusion</a>.")
60
-
 
 
61
 
62
  button_generate_story.click(get_story, inputs=[user_input, genre_input], outputs=generated_story)
63
  get_image_latent.click(text2image_latent, inputs=[generated_story,steps,width,height,images,diversity], outputs=gallery)
 
57
  get_image_latent = gr.Button("Generate Image", css={"margin-top": "1em"})
58
  with gr.Row():
59
  gr.Markdown("<a href='https://huggingface.co/spaces/merve/GPT-2-story-gen' target='_blank'>Story generation with GPT-2</a>, and text to image by <a href='https://huggingface.co/spaces/multimodalart/latentdiffusion' target='_blank'>Latent Diffusion</a>.")
60
+ with gr.Row():
61
+ gr.Markdown("![visitor badge](https://visitor-badge.glitch.me/badge?page_id=gradio-blocks_latent_gpt2_story)")
62
+
63
 
64
  button_generate_story.click(get_story, inputs=[user_input, genre_input], outputs=generated_story)
65
  get_image_latent.click(text2image_latent, inputs=[generated_story,steps,width,height,images,diversity], outputs=gallery)