Jiaqi-hkust commited on
Commit
7f7cf0a
·
verified ·
1 Parent(s): 7858048

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,11 +86,11 @@ vis_processor = registry.get_processor_class(vis_processor_cfg.name).from_config
86
  chat = Chat(model, vis_processor, device='cuda')
87
  print('Initialization Finished')
88
 
 
89
  # ========================================
90
  # Gradio Setting
91
  # ========================================
92
 
93
- have_video = 0
94
 
95
  def gradio_reset(chat_state, img_list):
96
  have_video = 0
 
86
  chat = Chat(model, vis_processor, device='cuda')
87
  print('Initialization Finished')
88
 
89
+ global have_video = 0
90
  # ========================================
91
  # Gradio Setting
92
  # ========================================
93
 
 
94
 
95
  def gradio_reset(chat_state, img_list):
96
  have_video = 0