Spaces:
Build error
Build error
update
Browse files
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(
|
| 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("")
|
| 92 |
+
|
| 93 |
demo.launch(enable_queue=True, debug=True)
|