Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
import os
|
2 |
-
import sys
|
3 |
import spaces
|
4 |
import gradio as gr
|
5 |
import numpy as np
|
@@ -10,6 +9,9 @@ import torch
|
|
10 |
from transformers import pipeline as transformers_pipeline
|
11 |
import re
|
12 |
from cohere import ClientV2 # Changed from HuggingFace to Cohere
|
|
|
|
|
|
|
13 |
|
14 |
import ast #추가 삽입, requirements: albumentations 추가
|
15 |
script_repr = os.getenv("APP")
|
|
|
1 |
import os
|
|
|
2 |
import spaces
|
3 |
import gradio as gr
|
4 |
import numpy as np
|
|
|
9 |
from transformers import pipeline as transformers_pipeline
|
10 |
import re
|
11 |
from cohere import ClientV2 # Changed from HuggingFace to Cohere
|
12 |
+
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
13 |
+
import torchfrom diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
14 |
+
|
15 |
|
16 |
import ast #추가 삽입, requirements: albumentations 추가
|
17 |
script_repr = os.getenv("APP")
|