m7mdal7aj commited on
Commit
1812270
1 Parent(s): 49e9e5b

Update my_model/tabs/run_inference.py

Browse files
Files changed (1) hide show
  1. my_model/tabs/run_inference.py +1 -3
my_model/tabs/run_inference.py CHANGED
@@ -9,8 +9,7 @@ import torch.nn as nn
9
  import pandas as pd
10
  from my_model.object_detection import detect_and_draw_objects
11
  from my_model.captioner.image_captioning import get_caption
12
- from my_model.gen_utilities import free_gpu_resources
13
- #from my_model.KBVQA import KBVQA, prepare_kbvqa_model
14
  from my_model.state_manager import StateManager
15
 
16
  state_manager = StateManager()
@@ -71,7 +70,6 @@ class InferenceRunner(StateManager):
71
  st.text(f"Q: {q}\nA: {a}\n")
72
 
73
 
74
-
75
  def run_inference(self):
76
  st.title("Run Inference")
77
  self.initialize_state()
 
9
  import pandas as pd
10
  from my_model.object_detection import detect_and_draw_objects
11
  from my_model.captioner.image_captioning import get_caption
12
+ from my_model.utilities.gen_utilities import free_gpu_resources
 
13
  from my_model.state_manager import StateManager
14
 
15
  state_manager = StateManager()
 
70
  st.text(f"Q: {q}\nA: {a}\n")
71
 
72
 
 
73
  def run_inference(self):
74
  st.title("Run Inference")
75
  self.initialize_state()