Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ from transformers import (
|
|
24 |
default_system_prompt = "You are an assistant designed to generate superior images with the superior degree of image-text alignment based on textual prompts or user prompts."
|
25 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
26 |
model_repo_id = "Alpha-VLLM/Lumina-Image-2.0"
|
27 |
-
transformer_repo_id = "
|
28 |
if torch.cuda.is_available():
|
29 |
torch_dtype = torch.bfloat16
|
30 |
else:
|
|
|
24 |
default_system_prompt = "You are an assistant designed to generate superior images with the superior degree of image-text alignment based on textual prompts or user prompts."
|
25 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
26 |
model_repo_id = "Alpha-VLLM/Lumina-Image-2.0"
|
27 |
+
transformer_repo_id = "Alpha-VLLM/Lumina-Image-2.0" # Temporarily fixed, change when main repo gets updated
|
28 |
if torch.cuda.is_available():
|
29 |
torch_dtype = torch.bfloat16
|
30 |
else:
|