mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
fix home page demos
This commit is contained in:
parent
9f8c06e0c2
commit
76d7985eaf
@ -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
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user