Anustup commited on
Commit
77169b4
1 Parent(s): e3f78f6

Update theme.py

Browse files
Files changed (1) hide show
  1. theme.py +3 -2
theme.py CHANGED
@@ -9,9 +9,10 @@ os.environ["REPLICATE_API_TOKEN"] = os.getenv("REPLICATE_API_TOKEN")
9
  def create_flux_request(prompt_for_image_generation):
10
  payload = {
11
  "prompt": prompt_for_image_generation,
12
- "guidance": 3.5,
13
  "num_outputs": 1,
14
- "aspect_ratio": "3:4"
 
15
  }
16
  output = replicate.run(
17
  "black-forest-labs/flux-dev",
 
9
  def create_flux_request(prompt_for_image_generation):
10
  payload = {
11
  "prompt": prompt_for_image_generation,
12
+ "guidance": 3,
13
  "num_outputs": 1,
14
+ "aspect_ratio": "3:4",
15
+ "disable_safety_checker": False
16
  }
17
  output = replicate.run(
18
  "black-forest-labs/flux-dev",