AnnaPalatkina commited on
Commit
73bcbef
1 Parent(s): 34051fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -11,14 +11,17 @@ 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://huggingface.co/datasets/norec).
 
 
 
15
 
16
  The model can be easily used for predicting sentiment as follows:
17
  ```python
18
  >>> from sentiment_wrapper import PredictionModel
19
  >>> model = PredictionModel()
20
- >>> model.predict(['vi liker svart kaffe'])
21
- [2]
22
  ```
23
  '''
24
 
 
11
  markdown_text = '''
12
  <br>
13
  <br>
14
+
15
+ 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).
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
 
19
  The model can be easily used for predicting sentiment as follows:
20
  ```python
21
  >>> from sentiment_wrapper import PredictionModel
22
  >>> model = PredictionModel()
23
+ >>> model.predict(['vi liker svart kaffe', 'jeg elsker virkelig røde roser!'])
24
+ [5,5]
25
  ```
26
  '''
27