developer0hye commited on
Commit
529626d
·
verified ·
1 Parent(s): 34ad792

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -208,6 +208,7 @@ def load_model(model_name):
208
  # Dictionary to store loaded models
209
  loaded_models = {}
210
 
 
211
  def process_image(image, model_name, confidence_threshold):
212
  """Main processing function for Gradio interface"""
213
  global loaded_models
 
208
  # Dictionary to store loaded models
209
  loaded_models = {}
210
 
211
+ @spaces.GPU
212
  def process_image(image, model_name, confidence_threshold):
213
  """Main processing function for Gradio interface"""
214
  global loaded_models