Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2001,6 +2001,12 @@ with gr.Blocks(theme="default") as demo:
|
|
2001 |
sms_1, sms_2, comment_sms_1, comment_sms_2, corrected_sms_1, corrected_sms_2]
|
2002 |
)
|
2003 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2004 |
create_personal_sms_btn.click(
|
2005 |
fn=generate_personalized_sms_wrapper,
|
2006 |
inputs=[product_dropdown, description, product_name, benefits, key_message,
|
|
|
2001 |
sms_1, sms_2, comment_sms_1, comment_sms_2, corrected_sms_1, corrected_sms_2]
|
2002 |
)
|
2003 |
|
2004 |
+
create_personal_sms_btn.click(
|
2005 |
+
fn=on_check_source_fields,
|
2006 |
+
inputs=[description, product_name, benefits, key_message],
|
2007 |
+
outputs=[source_check_md]
|
2008 |
+
)
|
2009 |
+
|
2010 |
create_personal_sms_btn.click(
|
2011 |
fn=generate_personalized_sms_wrapper,
|
2012 |
inputs=[product_dropdown, description, product_name, benefits, key_message,
|