fix home page demos

This commit is contained in:
Ali Abid 2020-11-05 16:36:12 -08:00
parent 9f8c06e0c2
commit 76d7985eaf
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import gradio as gr
import os, sys
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__), "utils"))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "utils"))
from FCN8s_keras import FCN
from PIL import Image
import cv2

View File

@ -1,6 +1,6 @@
import gradio as gr
import os, sys
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__), "utils"))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "utils"))
from bert import QA
model = QA('bert-large-uncased-whole-word-masking-finetuned-squad')