LiveEvil commited on
Commit
419a84f
1 Parent(s): d49d784

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -0
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()