aifeifei798 commited on
Commit
59e2f6a
β€’
1 Parent(s): 26fab9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -10,6 +10,7 @@ from diffusers import DiffusionPipeline, FlowMatchEulerDiscreteScheduler, Autoen
10
  from huggingface_hub import hf_hub_download
11
  from transformers import CLIPTextModel, CLIPTokenizer,T5EncoderModel, T5TokenizerFast
12
  from live_preview_helpers import calculate_shift, retrieve_timesteps, flux_pipe_call_that_returns_an_iterable_of_images
 
13
 
14
  # δ»ŽηŽ―ε’ƒε˜ι‡δΈ­θŽ·ε– API ε―†ι’₯
15
  api_key = os.getenv("MISTRAL_API_KEY")
 
10
  from huggingface_hub import hf_hub_download
11
  from transformers import CLIPTextModel, CLIPTokenizer,T5EncoderModel, T5TokenizerFast
12
  from live_preview_helpers import calculate_shift, retrieve_timesteps, flux_pipe_call_that_returns_an_iterable_of_images
13
+ from openai import OpenAI
14
 
15
  # δ»ŽηŽ―ε’ƒε˜ι‡δΈ­θŽ·ε– API ε―†ι’₯
16
  api_key = os.getenv("MISTRAL_API_KEY")