Thiên Phúc commited on
Commit
8a18da7
·
1 Parent(s): e633859

add sys path

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  import gradio as gr
2
  try:
3
  import cv2
 
1
+ import sys
2
+ import os
3
+
4
+ sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
5
  import gradio as gr
6
  try:
7
  import cv2