Commit
·
7c14c0e
1
Parent(s):
207a138
hmm large
Browse files
app.py
CHANGED
|
@@ -355,7 +355,7 @@ def get_mrt():
|
|
| 355 |
if _MRT is None:
|
| 356 |
with _MRT_LOCK:
|
| 357 |
if _MRT is None:
|
| 358 |
-
_MRT = system.MagentaRT(tag="large", guidance_weight=
|
| 359 |
return _MRT
|
| 360 |
|
| 361 |
@app.post("/generate")
|
|
|
|
| 355 |
if _MRT is None:
|
| 356 |
with _MRT_LOCK:
|
| 357 |
if _MRT is None:
|
| 358 |
+
_MRT = system.MagentaRT(tag="large", guidance_weight=5.0, device="gpu", lazy=False)
|
| 359 |
return _MRT
|
| 360 |
|
| 361 |
@app.post("/generate")
|