LiveEvil commited on
Commit
abf3a0d
·
1 Parent(s): a2d4bac

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -0
app.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ title = "LA-Regress"
4
+ description = "This is the official gradio demo for currentxla, the best language classification AI to be built."
5
+ article = "<p style='text-align: center'><a href='https://github.com/kingoflolz/mesh-transformer-jax' target='_blank'>current-best: A contextual language base.</a></p>"
6
+ gr.Interface.load(
7
+ "huggingface/datasciencemmw/current-best",
8
+ inputs="text",
9
+ title=title,
10
+ description=description,
11
+ article=article,
12
+ examples=[
13
+ ["Conflict is inevitable on the path to peace."],
14
+ ["Controversy is never leading to peace."],
15
+ ["Your mother is cool and I am Gilgamesh,,"],
16
+ ],
17
+ enable_queue=True,
18
+ ).launch()