h-siyuan commited on
Commit
246264b
·
verified ·
1 Parent(s): 3b0c073

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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