Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
4f4fc8f
1
Parent(s):
5a861a6
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
-
title = "
|
3 |
description = "Gradio Demo for bart-large, to use it, simply add your text, or click one of the examples to load them. Read more at the links below."
|
4 |
article = "<p style='text-align: center'><a href='https://huggingface.co/facebook/bart-large-mnli' target='_blank'>Huggingface Model Page</a></p>"
|
5 |
examples = [
|
6 |
-
["
|
7 |
]
|
8 |
-
gr.Interface.load("huggingface/
|
|
|
1 |
import gradio as gr
|
2 |
+
title = "Finbert-tone"
|
3 |
description = "Gradio Demo for bart-large, to use it, simply add your text, or click one of the examples to load them. Read more at the links below."
|
4 |
article = "<p style='text-align: center'><a href='https://huggingface.co/facebook/bart-large-mnli' target='_blank'>Huggingface Model Page</a></p>"
|
5 |
examples = [
|
6 |
+
["growth is strong and we have plenty of liquidity"]
|
7 |
]
|
8 |
+
gr.Interface.load("huggingface/yiyanghkust/finbert-tone",title=title,description=description,article=article, examples=examples,enable_queue=True).launch()
|