Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,6 @@ examples = [
|
|
27 |
]
|
28 |
|
29 |
|
30 |
-
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
31 |
article = """
|
32 |
Fine-tuned on xlm-roberta-base model.\n
|
33 |
Supported languages:\n
|
@@ -40,8 +39,8 @@ Supported languages:\n
|
|
40 |
|
41 |
gr.Interface(
|
42 |
fn=detect_language,
|
43 |
-
inputs=
|
44 |
-
outputs=
|
45 |
verbose=True,
|
46 |
examples = examples,
|
47 |
title="Language Detector 🔠",
|
|
|
27 |
]
|
28 |
|
29 |
|
|
|
30 |
article = """
|
31 |
Fine-tuned on xlm-roberta-base model.\n
|
32 |
Supported languages:\n
|
|
|
39 |
|
40 |
gr.Interface(
|
41 |
fn=detect_language,
|
42 |
+
inputs=gr.Textbox("Enter your text here"),
|
43 |
+
outputs='Texts',
|
44 |
verbose=True,
|
45 |
examples = examples,
|
46 |
title="Language Detector 🔠",
|