Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,7 +99,7 @@ def on_model_change(model_name):
|
|
| 99 |
|
| 100 |
def inference(model_name, prompt, guidance, steps, width=512, height=512, seed=0, img=None, strength=0.5, neg_prompt=""):
|
| 101 |
|
| 102 |
-
psutil.virtual_memory() # print memory usage
|
| 103 |
|
| 104 |
global current_model
|
| 105 |
for model in models:
|
|
|
|
| 99 |
|
| 100 |
def inference(model_name, prompt, guidance, steps, width=512, height=512, seed=0, img=None, strength=0.5, neg_prompt=""):
|
| 101 |
|
| 102 |
+
print(psutil.virtual_memory()) # print memory usage
|
| 103 |
|
| 104 |
global current_model
|
| 105 |
for model in models:
|