Spaces:
Running
on
Zero
Running
on
Zero
Alexander Bagus
commited on
Commit
·
31717b2
1
Parent(s):
cf37355
22
Browse files- utils/prompt_utils.py +1 -2
utils/prompt_utils.py
CHANGED
|
@@ -14,11 +14,10 @@ def polish_prompt(original_prompt):
|
|
| 14 |
|
| 15 |
# client = InferenceClient(provider="cerebras", api_key=api_key)
|
| 16 |
# messages = []
|
| 17 |
-
client = InferenceClient(provider="cerebras")
|
| 18 |
|
| 19 |
try:
|
| 20 |
completion = client.chat.completions.create(
|
| 21 |
-
api_key=api_key,
|
| 22 |
model="Qwen/Qwen3-235B-A22B-Instruct-2507",
|
| 23 |
messages=[
|
| 24 |
{"role": "system", "content": system_prompt},
|
|
|
|
| 14 |
|
| 15 |
# client = InferenceClient(provider="cerebras", api_key=api_key)
|
| 16 |
# messages = []
|
| 17 |
+
client = InferenceClient(provider="cerebras", api_key=api_key)
|
| 18 |
|
| 19 |
try:
|
| 20 |
completion = client.chat.completions.create(
|
|
|
|
| 21 |
model="Qwen/Qwen3-235B-A22B-Instruct-2507",
|
| 22 |
messages=[
|
| 23 |
{"role": "system", "content": system_prompt},
|