shenyunhang commited on
Commit
781949e
·
verified ·
1 Parent(s): e592747

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -805,6 +805,8 @@ if importlib.util.find_spec("torch_npu") is not None:
805
  import sys
806
  import os
807
  import natsort
 
 
808
 
809
  torch.manual_seed(1234)
810
 
@@ -849,8 +851,7 @@ image_processor = ImageProcessor(
849
  max_patch_grid=12,
850
  )
851
 
852
- import gradio as gr
853
- import spaces
854
 
855
  @spaces.GPU(duration=120)
856
  def inference_model(messages, image_path_list, video_path_list):
 
805
  import sys
806
  import os
807
  import natsort
808
+ import gradio as gr
809
+ import spaces
810
 
811
  torch.manual_seed(1234)
812
 
 
851
  max_patch_grid=12,
852
  )
853
 
854
+
 
855
 
856
  @spaces.GPU(duration=120)
857
  def inference_model(messages, image_path_list, video_path_list):