ansegura commited on
Commit
744ffa5
·
1 Parent(s): 01d85a7

Update App

Browse files

Testing chkla/roberta-argument model.
https://huggingface.co/chkla/roberta-argument

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,4 +5,5 @@ def arg_detection(text):
5
  return text
6
 
7
  # Write 1 line of Python to create a simple GUI
8
- gr.Interface(fn=arg_detection, inputs="text", outputs="text", title="Argument detection task").launch()
 
 
5
  return text
6
 
7
  # Write 1 line of Python to create a simple GUI
8
+ # gr.Interface(fn=arg_detection, inputs="text", outputs="text", title="Argument detection task").launch()
9
+ gr.Interface.load("huggingface/chkla/roberta-argument", title="Argument detection task").launch()