File size: 427 Bytes
01d85a7
 
110dbf6
 
 
01d85a7
 
110dbf6
1
2
3
4
5
6
7
8
9
import gradio as gr

# Example sentences
examples = [["It has been determined that the amount of greenhouse gases have decreased by almost half because of the prevalence in the utilization of nuclear power."],
            ["The Moon's orbit around Earth has"]]

# Write 1 line of Python to create a simple GUI
gr.Interface.load("huggingface/chkla/roberta-argument", examples=examples, title="Argument detection task").launch()