Update app.py
Browse files
app.py
CHANGED
@@ -2,13 +2,11 @@
|
|
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 |
-
['
|
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
|
12 |
|
13 |
'''
|
14 |
import os
|
|
|
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. It can work as a general purpose fantasy novel storyteller."
|
6 |
examples = [
|
7 |
+
['I had eyes but couldn\'t see Mount Tai!'],
|
|
|
|
|
8 |
]
|
9 |
+
gr.Interface("models/rexwang8/qilin-lit-6b", inputs="text", outputs="text",title=title,description=description, examples=examples).launch()
|
10 |
|
11 |
'''
|
12 |
import os
|