Spaces:
Running
on
L40S
Running
on
L40S
ryanzhangfan
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ gen_model.to(device)
|
|
71 |
chat_model.to(device)
|
72 |
image_tokenizer.to(device)
|
73 |
|
74 |
-
@spaces.GPU(duration=
|
75 |
def generate_image(prompt):
|
76 |
POSITIVE_PROMPT = " masterpiece, film grained, best quality."
|
77 |
NEGATIVE_PROMPT = (
|
|
|
71 |
chat_model.to(device)
|
72 |
image_tokenizer.to(device)
|
73 |
|
74 |
+
@spaces.GPU(duration=120)
|
75 |
def generate_image(prompt):
|
76 |
POSITIVE_PROMPT = " masterpiece, film grained, best quality."
|
77 |
NEGATIVE_PROMPT = (
|