ming512's picture
Update app.py
232a32a verified
raw
history blame contribute delete
548 Bytes
# import gradio as gr
# gr.load("models/sentence-transformers/all-MiniLM-L6-v2").launch(share=True, show_error=True)
def start():
print(f"Launching models/sentence-transformers/all-MiniLM-L6-v2 Web UI")
import gradio as gr
demo = gr.load("models/sentence-transformers/all-MiniLM-L6-v2")
demo.queue()
demo.launch(share=True, show_error=True)
# def start():
# print(f"Launching SadTalker Web UI")
# from app import sadtalker_demo
# demo = sadtalker_demo()
# demo.queue()
# demo.launch(share=True)
start()