Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
title = "contextxla-beta"
|
4 |
+
description = "This is the official gradio demo for currentxla beta, the best language classification AI to be built."
|
5 |
+
gr.Interface.load(
|
6 |
+
"huggingface/datasciencemmw/current-beta",
|
7 |
+
inputs="text",
|
8 |
+
title=title,
|
9 |
+
description=description,
|
10 |
+
examples=[
|
11 |
+
["Conflict is inevitable on the path to peace."],
|
12 |
+
["Controversy is never leading to peace."],
|
13 |
+
["Your mother is cool and I am Gilgamesh,,"],
|
14 |
+
["I am a cool green purple dude."],
|
15 |
+
],
|
16 |
+
enable_queue=True,
|
17 |
+
).launch()
|