Spaces:
Build error
Build error
File size: 306 Bytes
62240fd 1d8d3a1 9675c65 62240fd eaaa625 07aa5a2 |
1 2 3 4 5 6 7 8 9 10 11 |
import gradio as gr
from network import SpanNet
from huggingface_hub import Repository
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
model = SpanNet.load_model(model_path='nehalelkaref/plain_span', device='cuda').cuda()
# iface.launch() |