Spaces:
Runtime error
Runtime error
AnnaPalatkina
commited on
Commit
•
3c40e92
1
Parent(s):
ec1a796
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,8 @@ def predict(text:str):
|
|
11 |
markdown_text = '''
|
12 |
<br>
|
13 |
<br>
|
14 |
-
This space provides a gradio demo and an easy-to-run wrapper of the pre-trained model for fine-grained sentiment analysis in Norwegian language, pre-trained on the [NoReC dataset](https://github.com/ltgoslo/norec)
|
|
|
15 |
|
16 |
Information about project you an fine on the website of [University of Oslo](https://www.mn.uio.no/ifi/english/research/projects/sant/)
|
17 |
|
@@ -22,6 +23,8 @@ The model can be easily used for predicting sentiment as follows:
|
|
22 |
>>> model.predict(['vi liker svart kaffe', 'jeg elsker virkelig røde roser!'])
|
23 |
[5,5]
|
24 |
```
|
|
|
|
|
25 |
'''
|
26 |
|
27 |
with gr.Blocks() as demo:
|
|
|
11 |
markdown_text = '''
|
12 |
<br>
|
13 |
<br>
|
14 |
+
This space provides a gradio demo and an easy-to-run wrapper of the pre-trained model for fine-grained sentiment analysis in Norwegian language, pre-trained on the [NoReC dataset](https://github.com/ltgoslo/norec)
|
15 |
+
|
16 |
|
17 |
Information about project you an fine on the website of [University of Oslo](https://www.mn.uio.no/ifi/english/research/projects/sant/)
|
18 |
|
|
|
23 |
>>> model.predict(['vi liker svart kaffe', 'jeg elsker virkelig røde roser!'])
|
24 |
[5,5]
|
25 |
```
|
26 |
+
|
27 |
+
|
28 |
'''
|
29 |
|
30 |
with gr.Blocks() as demo:
|