jbprincipe1 commited on
Commit
ab2eeeb
·
verified ·
1 Parent(s): 3d05536

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -45,6 +45,8 @@ def ask_phi(image, question, max_length):
45
  response += output
46
 
47
  print(f"\nInference took {time.time() - start_time} seconds")
 
 
48
  return response
49
 
50
  # Gradio Interface
 
45
  response += output
46
 
47
  print(f"\nInference took {time.time() - start_time} seconds")
48
+
49
+ del generator
50
  return response
51
 
52
  # Gradio Interface