ysharma HF staff commited on
Commit
4a799d6
1 Parent(s): c3d5815
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -82,9 +82,12 @@ with demo:
82
  generated_txt = gr.Textbox(lines=10)
83
 
84
  with gr.Row():
85
- input_prompt = gr.Textbox(placeholder="Q: A juggler can juggle 16 balls. Half of the balls are golf balls, and half of the golf balls are blue. How many blue golf balls are there?\nA: Let’s think step by step.\n", label="Or don't select from above examples and just enter your own prompt drawing from the above examples and submit... ")
86
 
87
  b1 = gr.Button("Generate Text")
88
  b1.click(text_generate,inputs=[example_problem, example_template, input_prompt], outputs=generated_txt) #example_prompt
89
 
 
 
 
90
  demo.launch(enable_queue=True, debug=True)
 
82
  generated_txt = gr.Textbox(lines=10)
83
 
84
  with gr.Row():
85
+ input_prompt = gr.Textbox(value="Q: A juggler can juggle 16 balls. Half of the balls are golf balls, and half of the golf balls are blue. How many blue golf balls are there?\nA: Let’s think step by step.\n", label="Or don't select from above examples and just enter your own prompt drawing from the above examples and submit... ")
86
 
87
  b1 = gr.Button("Generate Text")
88
  b1.click(text_generate,inputs=[example_problem, example_template, input_prompt], outputs=generated_txt) #example_prompt
89
 
90
+ with gr.Row():
91
+ gr.Markdown("![visitor badge](https://visitor-badge.glitch.me/badge?page_id=europython2022_step-by-step-with-bloom)")
92
+
93
  demo.launch(enable_queue=True, debug=True)