Update App
Browse filesAdded example sentences.
app.py
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
|
7 |
# Write 1 line of Python to create a simple GUI
|
8 |
-
|
9 |
-
gr.Interface.load("huggingface/chkla/roberta-argument", title="Argument detection task").launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
# Example sentences
|
4 |
+
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."],
|
5 |
+
["The Moon's orbit around Earth has"]]
|
6 |
|
7 |
# Write 1 line of Python to create a simple GUI
|
8 |
+
gr.Interface.load("huggingface/chkla/roberta-argument", examples=examples, title="Argument detection task").launch()
|
|