zliang commited on
Commit
e573d70
1 Parent(s): 91a1c99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
- import os
 
2
  os.system("sed -i 's/config.max_workspace_size = self.args.workspace \* 1 << 30/config.set_memory_pool_limit(trt.MemoryPoolType.WORKSPACE, self.args.workspace \* 1 << 30)/' exporter.py")
3
  import gradio as gr
4
  import numpy as np
 
1
+ import os
2
+ os.system("pip install -q git+https://github.com/THU-MIG/yolov10.git")
3
  os.system("sed -i 's/config.max_workspace_size = self.args.workspace \* 1 << 30/config.set_memory_pool_limit(trt.MemoryPoolType.WORKSPACE, self.args.workspace \* 1 << 30)/' exporter.py")
4
  import gradio as gr
5
  import numpy as np