Jarrodbarnes commited on
Commit
8646235
1 Parent(s): 10e252d

fixed formatting

Browse files
Files changed (1) hide show
  1. SD3.py +1 -1
SD3.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
 
5
  def generate_image(prompt, aspect_ratio='1:1', model='sd3', seed=0, output_format='png'):
6
  api_url = "https://api.stability.ai/v2beta/stable-image/generate/sd3"
7
- api_key = os.environ.get("STABILITY_AI_API_KEY") # Retrieve the API key from the environment variable
8
 
9
  m = MultipartEncoder(
10
  fields={
 
4
 
5
  def generate_image(prompt, aspect_ratio='1:1', model='sd3', seed=0, output_format='png'):
6
  api_url = "https://api.stability.ai/v2beta/stable-image/generate/sd3"
7
+ api_key = os.environ.get("STABILITY_AI_API_KEY") # Retrieve the API key from the environment variable
8
 
9
  m = MultipartEncoder(
10
  fields={