LukasHug commited on
Commit
a10d515
·
verified ·
1 Parent(s): dcd537f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -182,6 +182,7 @@ def get_conv_log_filename():
182
  return name
183
 
184
  # Inference function
 
185
  def run_inference(prompt, image, temperature=0.2, top_p=0.95, max_tokens=512):
186
  global model, tokenizer, processor
187
 
 
182
  return name
183
 
184
  # Inference function
185
+ @spaces.GPU
186
  def run_inference(prompt, image, temperature=0.2, top_p=0.95, max_tokens=512):
187
  global model, tokenizer, processor
188