Spaces:
Running
on
Zero
Running
on
Zero
Alexander Bagus
commited on
Commit
·
0bdce53
1
Parent(s):
b21cad7
22
Browse files- static/data.json +1 -1
- utils/prompt_utils.py +1 -1
static/data.json
CHANGED
|
@@ -4,6 +4,6 @@
|
|
| 4 |
["examples/bird.jpg", "A bird sitting on a branch, cartoon.", "Canny"],
|
| 5 |
["examples/bottle.jpg", "A man holding a glass of wine", "HED"],
|
| 6 |
["examples/room.jpg", "modern architecture, living room", "Depth"],
|
| 7 |
-
["examples/pose2.jpg", "Woman wearing jeans and tanktop", "HED"]
|
| 8 |
]
|
| 9 |
}
|
|
|
|
| 4 |
["examples/bird.jpg", "A bird sitting on a branch, cartoon.", "Canny"],
|
| 5 |
["examples/bottle.jpg", "A man holding a glass of wine", "HED"],
|
| 6 |
["examples/room.jpg", "modern architecture, living room", "Depth"],
|
| 7 |
+
["examples/pose2.jpg", "Woman wearing jeans and tanktop, from dubai", "HED"]
|
| 8 |
]
|
| 9 |
}
|
utils/prompt_utils.py
CHANGED
|
@@ -26,7 +26,7 @@ def polish_prompt(original_prompt):
|
|
| 26 |
|
| 27 |
try:
|
| 28 |
completion = client.chat.completions.create(
|
| 29 |
-
model="
|
| 30 |
max_tokens=256,
|
| 31 |
messages=[
|
| 32 |
{"role": "system", "content": system_prompt},
|
|
|
|
| 26 |
|
| 27 |
try:
|
| 28 |
completion = client.chat.completions.create(
|
| 29 |
+
model="meta-llama/Llama-3.1-8B-Instruct",
|
| 30 |
max_tokens=256,
|
| 31 |
messages=[
|
| 32 |
{"role": "system", "content": system_prompt},
|