PraneshJs commited on
Commit
afa5f4b
·
verified ·
1 Parent(s): f1a0b85

changed model

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -39,7 +39,7 @@ def build_structured_prompt(user_prompt, repo_data=None):
39
  "tone": "Professional yet personal",
40
  "style": "Storytelling, informative, slightly persuasive",
41
  "length": "Long-form (150–300 words)",
42
- "hashtags": "Add 510 trending tech-related hashtags automatically",
43
  "extras": [
44
  "Include a strong opening hook",
45
  "End with a call to action (e.g., inviting engagement or collaboration)",
@@ -79,9 +79,9 @@ def generate_post(topic, user_prompt):
79
  structured_prompt = build_structured_prompt(user_prompt, repo_data)
80
 
81
  payload = {
82
- "model": "deepseek/deepseek-chat-v3-0324:free",
83
  "messages": [
84
- {"role": "system", "content": "You are an expert social media strategist for AI and software projects."},
85
  {"role": "user", "content": structured_prompt}
86
  ]
87
  }
 
39
  "tone": "Professional yet personal",
40
  "style": "Storytelling, informative, slightly persuasive",
41
  "length": "Long-form (150–300 words)",
42
+ "hashtags": "Add 1015 trending tech-related hashtags automatically they should gain more profile views and new connection",
43
  "extras": [
44
  "Include a strong opening hook",
45
  "End with a call to action (e.g., inviting engagement or collaboration)",
 
79
  structured_prompt = build_structured_prompt(user_prompt, repo_data)
80
 
81
  payload = {
82
+ "model": "nvidia/nemotron-nano-9b-v2:free",
83
  "messages": [
84
+ {"role": "system", "content": "You are an expert social media strategist for projects."},
85
  {"role": "user", "content": structured_prompt}
86
  ]
87
  }