Spaces:
Runtime error
Runtime error
lalashechka
commited on
Commit
•
19a32aa
1
Parent(s):
5cdcae7
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def flip_text(prompt, negative_prompt, task, steps, sampler, cfg_scale, seed):
|
|
52 |
'user-agent': f'{ua.random}'
|
53 |
}
|
54 |
client = Client("https://ashrafb-arv3s.hf.space/", headers=headers)
|
55 |
-
result = client.predict(
|
56 |
return result
|
57 |
try:
|
58 |
with closing(create_connection("wss://google-sdxl.hf.space/queue/join")) as conn:
|
|
|
52 |
'user-agent': f'{ua.random}'
|
53 |
}
|
54 |
client = Client("https://ashrafb-arv3s.hf.space/", headers=headers)
|
55 |
+
result = client.predict(prompt,0,"Cinematic", fn_index=0)
|
56 |
return result
|
57 |
try:
|
58 |
with closing(create_connection("wss://google-sdxl.hf.space/queue/join")) as conn:
|