Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from diffusers import DiffusionPipeline
|
|
| 8 |
dtype = torch.bfloat16
|
| 9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 10 |
|
| 11 |
-
pipe = DiffusionPipeline.from_pretrained("shuttleai/shuttle-3-
|
| 12 |
|
| 13 |
MAX_SEED = np.iinfo(np.int32).max
|
| 14 |
MAX_IMAGE_SIZE = 2048
|
|
@@ -44,8 +44,8 @@ css="""
|
|
| 44 |
with gr.Blocks(css=css) as demo:
|
| 45 |
|
| 46 |
with gr.Column(elem_id="col-container"):
|
| 47 |
-
gr.Markdown(f"""# Shuttle 3
|
| 48 |
-
Shuttle 3
|
| 49 |
""")
|
| 50 |
|
| 51 |
with gr.Row():
|
|
|
|
| 8 |
dtype = torch.bfloat16
|
| 9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 10 |
|
| 11 |
+
pipe = DiffusionPipeline.from_pretrained("shuttleai/shuttle-3.1-aesthetic", torch_dtype=dtype).to(device)
|
| 12 |
|
| 13 |
MAX_SEED = np.iinfo(np.int32).max
|
| 14 |
MAX_IMAGE_SIZE = 2048
|
|
|
|
| 44 |
with gr.Blocks(css=css) as demo:
|
| 45 |
|
| 46 |
with gr.Column(elem_id="col-container"):
|
| 47 |
+
gr.Markdown(f"""# Shuttle 3.1 Aesthetic
|
| 48 |
+
Shuttle 3.1 Aesthetic is a text-to-image AI model designed to create aesthetic, detailed and diverse images from textual prompts in just 4 steps. It offers enhanced performance in image quality, typography, understanding complex prompts, and resource efficiency.
|
| 49 |
""")
|
| 50 |
|
| 51 |
with gr.Row():
|