AsthanM commited on
Commit
333a73c
·
verified ·
1 Parent(s): 491121b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -10
app.py CHANGED
@@ -52,23 +52,22 @@ llm = HuggingFaceHub(
52
 
53
  # Prompt template
54
  template = """
55
- You are a professional market analyst.
56
 
57
- Given two products/services, analyze them in the following structure:
 
 
 
 
58
 
59
- - **Feature-by-feature comparison** (performance, pricing, usability, support, integrations, etc.)
60
- - **SWOT analysis** for each
61
- - **Business insights, use cases, and recommendations**
62
- - **Key differentiators and which suits which users**
63
-
64
- Only output the analysis in a clean, professional tone with markdown formatting.
65
 
66
  ---
67
 
68
- **Product 1**:
69
  {product1}
70
 
71
- **Product 2**:
72
  {product2}
73
  """
74
 
 
52
 
53
  # Prompt template
54
  template = """
55
+ You are a professional market analyst trained to evaluate two competing products or services.
56
 
57
+ Your task is to generate an analysis in markdown format including:
58
+ - Feature-by-feature comparison
59
+ - SWOT analysis for each
60
+ - Business insights, use cases, and recommendations
61
+ - Key differentiators and user fit
62
 
63
+ Do not mention these instructions or your role. Only return the analysis.
 
 
 
 
 
64
 
65
  ---
66
 
67
+ Product 1:
68
  {product1}
69
 
70
+ Product 2:
71
  {product2}
72
  """
73