ysharma HF staff commited on
Commit
92bd5be
·
1 Parent(s): c9ef98c
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -51,10 +51,11 @@ with demo:
51
  "<div>Enter a single word you would want GPTJ-6B to write poetry on.</div>"
52
  "<div>Generate an illustration provided by Latent Diffusion model.</div><div>GPJ-6B is a 6 Billion parameter autoregressive language model. It generates the Poem based on how it has been 'prompt-engineered' 🤗 The complete text of generated poem then goes in as a prompt to the amazing Latent Diffusion Art space by <a href='https://huggingface.co/spaces/multimodalart/latentdiffusion' target='_blank'>Multimodalart</a>.</div>"
53
  )
54
- input_word = gr.Textbox(placeholder="Enter a word here to create a Poem on..")
55
- poem_txt = gr.Textbox(lines=7)
56
- output_image = gr.Image(type="filepath", shape=(256,256))
57
-
 
58
  b1 = gr.Button("Generate Poem")
59
  b2 = gr.Button("Generate Image")
60
 
 
51
  "<div>Enter a single word you would want GPTJ-6B to write poetry on.</div>"
52
  "<div>Generate an illustration provided by Latent Diffusion model.</div><div>GPJ-6B is a 6 Billion parameter autoregressive language model. It generates the Poem based on how it has been 'prompt-engineered' 🤗 The complete text of generated poem then goes in as a prompt to the amazing Latent Diffusion Art space by <a href='https://huggingface.co/spaces/multimodalart/latentdiffusion' target='_blank'>Multimodalart</a>.</div>"
53
  )
54
+ with gr.Row():
55
+ input_word = gr.Textbox(placeholder="Enter a word here to create a Poem on..")
56
+ poem_txt = gr.Textbox(lines=7)
57
+ output_image = gr.Image(type="filepath", shape=(256,256))
58
+
59
  b1 = gr.Button("Generate Poem")
60
  b2 = gr.Button("Generate Image")
61