Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -85,6 +85,8 @@ def run_showui(image, query):
|
|
85 |
|
86 |
# Prepare inputs for the model
|
87 |
|
|
|
|
|
88 |
model = model.to("cuda")
|
89 |
processor = processor.to("cuda")
|
90 |
|
|
|
85 |
|
86 |
# Prepare inputs for the model
|
87 |
|
88 |
+
global modle, processor
|
89 |
+
|
90 |
model = model.to("cuda")
|
91 |
processor = processor.to("cuda")
|
92 |
|