hra commited on
Commit
bdf4c85
·
1 Parent(s): 18e5178

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -75,18 +75,18 @@ with gr.Blocks() as demo:
75
  with gr.Row():
76
  gr.Markdown("<h1><center>Everybody Can Blog</center></h1>")
77
  gr.Markdown(
78
- """Everybody can blog. Just enter a topic/ keyword & get a full blog from ChatGPT model. See examples for guidance. Experience the power of Prompt Engineering."""
79
  )
80
  with gr.Row():
81
  with gr.Column():
82
- textbox1 = gr.Textbox(placeholder="Enter topic/ keyword to generate blog...", lines=1,label='Topic')
83
  textbox2 = gr.Textbox(placeholder="Enter OpenAPI Key...", lines=1,label='OpenAPI Key')
84
  with gr.Column():
85
  btn = gr.Button("Generate")
86
- output1 = gr.Textbox(lines=20,label='Blog')
87
 
88
  btn.click(getblog,inputs=[textbox1,textbox2], outputs=[output1])
89
- examples = gr.Examples(examples=['5G','Minimalism','Rock music'],
90
  inputs=[textbox1])
91
 
92
 
 
75
  with gr.Row():
76
  gr.Markdown("<h1><center>Everybody Can Blog</center></h1>")
77
  gr.Markdown(
78
+ """Everybody can blog. Just enter a topic/ keyword & get a full blog from the ChatGPT model. See examples for guidance. Experience the power of Prompt Engineering."""
79
  )
80
  with gr.Row():
81
  with gr.Column():
82
+ textbox1 = gr.Textbox(placeholder="Enter topic/ keyword (1-3 words) to generate blog...", lines=1,label='Topic')
83
  textbox2 = gr.Textbox(placeholder="Enter OpenAPI Key...", lines=1,label='OpenAPI Key')
84
  with gr.Column():
85
  btn = gr.Button("Generate")
86
+ output1 = gr.Textbox(lines=10,label='Blog')
87
 
88
  btn.click(getblog,inputs=[textbox1,textbox2], outputs=[output1])
89
+ examples = gr.Examples(examples=['5G','Minimalism','Rock music','Electric Vehicles'],
90
  inputs=[textbox1])
91
 
92