Spaces:
Build error
Build error
Commit
·
134388c
1
Parent(s):
aaeb391
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,9 @@ from huggingface_hub import Repository
|
|
5 |
def greet(name):
|
6 |
return "Hello " + name + "!!"
|
7 |
|
|
|
|
|
8 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
9 |
-
model = SpanNet
|
10 |
|
11 |
# iface.launch()
|
|
|
5 |
def greet(name):
|
6 |
return "Hello " + name + "!!"
|
7 |
|
8 |
+
args= dict({'transformer_model_name':'nehalelkaref/plain_span',
|
9 |
+
device='cuda'})
|
10 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
11 |
+
model = SpanNet(args)
|
12 |
|
13 |
# iface.launch()
|