Update app.py
Browse files
app.py
CHANGED
@@ -1,15 +1,14 @@
|
|
1 |
|
2 |
import gradio as gr
|
3 |
|
4 |
-
title = "
|
5 |
-
description = "
|
6 |
-
article = "<p style='text-align: center'><a href='https://github.com/kingoflolz/mesh-transformer-jax' target='_blank'>GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model</a></p>"
|
7 |
examples = [
|
8 |
['A space ranger encounters a strange silhouette.'],
|
9 |
["A day on Saturn is 10 hours and 14 minutes."],
|
10 |
["There's no oxygen on Saturn, but roughly 75% hydrogen and 25% helium."]
|
11 |
]
|
12 |
-
gr.Interface.load("
|
13 |
|
14 |
'''
|
15 |
import os
|
|
|
1 |
|
2 |
import gradio as gr
|
3 |
|
4 |
+
title = "Qilin-Lit-6B"
|
5 |
+
description = "Qilin-Lit-6B is a finetuned version of GPT-J-6B. It has been trained on webnovels."
|
|
|
6 |
examples = [
|
7 |
['A space ranger encounters a strange silhouette.'],
|
8 |
["A day on Saturn is 10 hours and 14 minutes."],
|
9 |
["There's no oxygen on Saturn, but roughly 75% hydrogen and 25% helium."]
|
10 |
]
|
11 |
+
gr.Interface.load("models/rexwang8/qilin-lit-6b", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description, examples=examples).launch()
|
12 |
|
13 |
'''
|
14 |
import os
|