adikwok commited on
Commit
80bb269
·
verified ·
1 Parent(s): 616dac6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -50,9 +50,9 @@ def groq_with_memory(message: str, topic: str = "general", summarize: bool = Fal
50
 
51
  payload = {
52
  "model": "compound-beta",
53
- "messages": messages,
54
- "max_tokens": 5000,
55
- "temperature": 0.7
56
  }
57
 
58
  response = requests.post(API_URL, headers=headers, json=payload, timeout=30)
 
50
 
51
  payload = {
52
  "model": "compound-beta",
53
+ "messages": tolong jawab singkat,tajam,jelas,
54
+ "max_tokens": 100,
55
+ "temperature": 0.5
56
  }
57
 
58
  response = requests.post(API_URL, headers=headers, json=payload, timeout=30)