decodemai commited on
Commit
959058a
1 Parent(s): 9566c07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -49,16 +49,17 @@ def query(text):
49
 
50
 
51
  with gr.Blocks() as demo:
52
- gr.Markdown("<h1><center>Ideas about Future</center></h1>")
53
  gr.Markdown(
54
  """ChatGPT based Insights from Decodem.ai for businesses.\nWhile ChatGPT has multiple use cases we have evolved specific use cases/ templates for businesses \n\n This template provides ideas on how a business would look like in the future. Enter a business area and get the results."""
55
  )
56
  textbox = gr.Textbox(placeholder="Enter business type here...", lines=1)
57
  btn = gr.Button("Generate")
58
  output1 = gr.Textbox(lines=2,label='The future')
59
- #examples = gr.Radio(['icecream parlor','space travel','book shop','ecommerce','grocery delivery'], label= "Examples")
60
 
61
  btn.click(query,inputs=[textbox], outputs=[output1])
 
 
62
 
63
 
64
  demo.launch()
 
49
 
50
 
51
  with gr.Blocks() as demo:
52
+ gr.Markdown("<h1><center>Ideas of the Future</center></h1>")
53
  gr.Markdown(
54
  """ChatGPT based Insights from Decodem.ai for businesses.\nWhile ChatGPT has multiple use cases we have evolved specific use cases/ templates for businesses \n\n This template provides ideas on how a business would look like in the future. Enter a business area and get the results."""
55
  )
56
  textbox = gr.Textbox(placeholder="Enter business type here...", lines=1)
57
  btn = gr.Button("Generate")
58
  output1 = gr.Textbox(lines=2,label='The future')
 
59
 
60
  btn.click(query,inputs=[textbox], outputs=[output1])
61
+ examples = gr.Examples(examples=['icecream parlor','space travel','book shop','ecommerce','grocery delivery'],
62
+ inputs=[textbox])
63
 
64
 
65
  demo.launch()