Spaces:
Running
on
Zero
Running
on
Zero
aifeifei798
commited on
Commit
β’
59e2f6a
1
Parent(s):
26fab9b
Update app.py
Browse files
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")
|