Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,13 +32,13 @@ class UIDesignAgent:
|
|
| 32 |
}
|
| 33 |
|
| 34 |
data = {
|
| 35 |
-
"model": "
|
| 36 |
"messages": [
|
| 37 |
{"role": "system", "content": system_prompt},
|
| 38 |
{"role": "user", "content": f"Create a design system for: {prompt}"}
|
| 39 |
],
|
| 40 |
"temperature": 0.7,
|
| 41 |
-
"max_tokens":
|
| 42 |
}
|
| 43 |
|
| 44 |
try:
|
|
|
|
| 32 |
}
|
| 33 |
|
| 34 |
data = {
|
| 35 |
+
"model": "minimax/minimax-m2:free",
|
| 36 |
"messages": [
|
| 37 |
{"role": "system", "content": system_prompt},
|
| 38 |
{"role": "user", "content": f"Create a design system for: {prompt}"}
|
| 39 |
],
|
| 40 |
"temperature": 0.7,
|
| 41 |
+
"max_tokens": 10000
|
| 42 |
}
|
| 43 |
|
| 44 |
try:
|