lalashechka commited on
Commit
6c5201f
1 Parent(s): 0186a38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def flip_text(prompt, negative_prompt, task, steps, sampler, cfg_scale, seed):
45
  url_sd6 = os.getenv("url_sd6")
46
 
47
  if task == "Playground v2":
48
- playground = srt(os.getenv("playground"))
49
  client = Client(playground)
50
  result = client.predict(prompt, "", False, 220, 1024, 1024, 3, True, api_name="/run")
51
  return result[0][0]['image']
 
45
  url_sd6 = os.getenv("url_sd6")
46
 
47
  if task == "Playground v2":
48
+ playground = str(os.getenv("playground"))
49
  client = Client(playground)
50
  result = client.predict(prompt, "", False, 220, 1024, 1024, 3, True, api_name="/run")
51
  return result[0][0]['image']