Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def respond(
|
|
| 21 |
enhanced_system_message = (
|
| 22 |
f"{system_message}\n\n"
|
| 23 |
f"Customer Profile: {customer_profile}\n"
|
| 24 |
-
f"Customer Goals, Pain Points, and Preferences: {customer_goals}\n"
|
| 25 |
f"Main Topic: {main_topic}\n"
|
| 26 |
)
|
| 27 |
|
|
@@ -63,9 +63,9 @@ demo = gr.ChatInterface(
|
|
| 63 |
value="You are a friendly Chatbot, a digital marketing expert and a talented copywriter. You are trying to help a user write a creative post to improve their SEO based on their input.",
|
| 64 |
label="Instructions to Bot",
|
| 65 |
),
|
| 66 |
-
gr.Textbox(label="Customer Profile", placeholder="Describe your customer profile (e.g., age, interests, profession)"),
|
| 67 |
gr.Textbox(
|
| 68 |
-
label="Customer Goals, Pain Points, and Preferences",
|
| 69 |
placeholder="Describe your customer's goals, pain points, concerns, obstacles, wishes, and preferences",
|
| 70 |
),
|
| 71 |
gr.Textbox(label="Main Topic", placeholder="Enter the main topic of the post"),
|
|
@@ -81,7 +81,7 @@ demo = gr.ChatInterface(
|
|
| 81 |
),
|
| 82 |
],
|
| 83 |
title="SEO Assistant",
|
| 84 |
-
description="This app provides customized content that resonates with your customers to improve your SEO. Based on your input. Powered by Hugging Face Inference, Design Thinking, and domain expertise. Developed by wn. Disclaimer: AI can make mistakes. Use with caution and at your own risk!",
|
| 85 |
)
|
| 86 |
|
| 87 |
|
|
|
|
| 21 |
enhanced_system_message = (
|
| 22 |
f"{system_message}\n\n"
|
| 23 |
f"Customer Profile: {customer_profile}\n"
|
| 24 |
+
f"Customer Goals, Pain Points, Obstacles, Wishes and Preferences: {customer_goals}\n"
|
| 25 |
f"Main Topic: {main_topic}\n"
|
| 26 |
)
|
| 27 |
|
|
|
|
| 63 |
value="You are a friendly Chatbot, a digital marketing expert and a talented copywriter. You are trying to help a user write a creative post to improve their SEO based on their input.",
|
| 64 |
label="Instructions to Bot",
|
| 65 |
),
|
| 66 |
+
gr.Textbox(label="Your Customer Profile", placeholder="Describe your customer profile (e.g., age, interests, profession)"),
|
| 67 |
gr.Textbox(
|
| 68 |
+
label="Customer Goals, Pain Points, Obstacles, Wishes and Preferences",
|
| 69 |
placeholder="Describe your customer's goals, pain points, concerns, obstacles, wishes, and preferences",
|
| 70 |
),
|
| 71 |
gr.Textbox(label="Main Topic", placeholder="Enter the main topic of the post"),
|
|
|
|
| 81 |
),
|
| 82 |
],
|
| 83 |
title="SEO Assistant",
|
| 84 |
+
description="This app provides customized content that resonates with your customers to improve your SEO. Based on your input. Powered by Hugging Face Inference, Design Thinking, and domain expertise. Expand Additional Inputs by clicking on the arrow, input more details about your customers, then a message describing what you need the assistant to do for you. Developed by wn. Disclaimer: AI can make mistakes. Use with caution and at your own risk!",
|
| 85 |
)
|
| 86 |
|
| 87 |
|