Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -56,9 +56,9 @@ with gr.Blocks() as demo:
|
|
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
|
62 |
|
63 |
|
64 |
demo.launch()
|
|
|
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()
|