simplify graphrag
Browse files
app.py
CHANGED
@@ -104,20 +104,21 @@ Scalability through Partnerships: Key partners (e.g., tech vendors, logistics pr
|
|
104 |
|
105 |
By framing each component as a strategic variable rather than a fixed element, businesses can continuously adapt to disruptions—a necessity in Ohmae’s vision of fluid, customer-first strategy.
|
106 |
"""
|
107 |
-
in_question = gr.Textbox(label="Persona")
|
108 |
out_product = gr.Textbox(label="Plan")
|
109 |
|
110 |
gr.Examples(
|
111 |
[
|
112 |
[
|
113 |
"""
|
|
|
114 |
Low APR and great customer service. I would highly recommend if you’re looking for a great credit card company and looking to rebuild your credit. I have had my credit limit increased annually and the annual fee is very low.
|
115 |
"""]
|
116 |
],
|
117 |
[in_question]
|
118 |
)
|
119 |
btn_recommend = gr.Button("Reasoning")
|
120 |
-
btn_recommend.click(fn=reasoning, inputs=[in_verbatim,
|
121 |
|
122 |
|
123 |
demo.launch(allowed_paths=["./xgb","./ts"])
|
|
|
104 |
|
105 |
By framing each component as a strategic variable rather than a fixed element, businesses can continuously adapt to disruptions—a necessity in Ohmae’s vision of fluid, customer-first strategy.
|
106 |
"""
|
107 |
+
in_question = gr.Textbox(label="Persona",)
|
108 |
out_product = gr.Textbox(label="Plan")
|
109 |
|
110 |
gr.Examples(
|
111 |
[
|
112 |
[
|
113 |
"""
|
114 |
+
Create marketing campaign that can improve customer acquisition, activation, retention and referral for this persona:
|
115 |
Low APR and great customer service. I would highly recommend if you’re looking for a great credit card company and looking to rebuild your credit. I have had my credit limit increased annually and the annual fee is very low.
|
116 |
"""]
|
117 |
],
|
118 |
[in_question]
|
119 |
)
|
120 |
btn_recommend = gr.Button("Reasoning")
|
121 |
+
btn_recommend.click(fn=reasoning, inputs=[in_verbatim, in_question], outputs=out_product)
|
122 |
|
123 |
|
124 |
demo.launch(allowed_paths=["./xgb","./ts"])
|