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