Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ except requests.exceptions.ReadTimeout as e:
|
|
26 |
#print(r.content)
|
27 |
|
28 |
prompt=str(r.content, 'UTF-8')
|
29 |
-
|
30 |
|
31 |
def infer(prompt,
|
32 |
max_length = 250,
|
@@ -90,10 +90,10 @@ with gr.Blocks() as demo:
|
|
90 |
)
|
91 |
textbox = gr.Textbox(placeholder="Enter market size focus for business here...", lines=1,label='Your business area')
|
92 |
btn = gr.Button("Generate")
|
93 |
-
output1 = gr.Textbox(lines=2,label='
|
94 |
|
95 |
btn.click(getideas,inputs=[textbox], outputs=[output1])
|
96 |
-
examples = gr.Examples(examples=['
|
97 |
inputs=[textbox])
|
98 |
|
99 |
|
|
|
26 |
#print(r.content)
|
27 |
|
28 |
prompt=str(r.content, 'UTF-8')
|
29 |
+
print(prompt)
|
30 |
|
31 |
def infer(prompt,
|
32 |
max_length = 250,
|
|
|
90 |
)
|
91 |
textbox = gr.Textbox(placeholder="Enter market size focus for business here...", lines=1,label='Your business area')
|
92 |
btn = gr.Button("Generate")
|
93 |
+
output1 = gr.Textbox(lines=2,label='Market Sizing Framework')
|
94 |
|
95 |
btn.click(getideas,inputs=[textbox], outputs=[output1])
|
96 |
+
examples = gr.Examples(examples=['ice cream parlor in London','HR saas for fintech','book shops in NYC','Starbucks cafe in Bangalore','organic vegetables via ecommerce','grocery delivery'],
|
97 |
inputs=[textbox])
|
98 |
|
99 |
|