Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -327,7 +327,7 @@ def attack_sus(message, max_tokens, temperature, top_p, available_pic_str):
|
|
327 |
if image_name == pic_list:
|
328 |
valid_img = True
|
329 |
|
330 |
-
if valid_img
|
331 |
output2 = llm_client.chat.completions.create(
|
332 |
model="Orenguteng/Llama-3.1-8B-Lexi-Uncensored-V2",
|
333 |
messages=[
|
|
|
327 |
if image_name == pic_list:
|
328 |
valid_img = True
|
329 |
|
330 |
+
if valid_img == False:
|
331 |
output2 = llm_client.chat.completions.create(
|
332 |
model="Orenguteng/Llama-3.1-8B-Lexi-Uncensored-V2",
|
333 |
messages=[
|