Tanor commited on
Commit
47112e7
·
1 Parent(s): 0b34b06

added examples

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -23,7 +23,18 @@ iface = gr.Interface(
23
  The model was initially pretrained on the [sr-gpt2-large model by Mihailo Škorić](https://huggingface.co/JeRTeh/sr-gpt2-large),
24
  then fine-tuned on selected definitions from the Serbian WordNet. Please limit the input to 300 tokens.
25
  The outputs represent the Positive (POS), Negative (NEG), and Objective (OBJ) sentiment scores.
26
- """
 
 
 
 
 
 
 
 
 
 
 
27
  )
28
 
29
  iface.launch()
 
23
  The model was initially pretrained on the [sr-gpt2-large model by Mihailo Škorić](https://huggingface.co/JeRTeh/sr-gpt2-large),
24
  then fine-tuned on selected definitions from the Serbian WordNet. Please limit the input to 300 tokens.
25
  The outputs represent the Positive (POS), Negative (NEG), and Objective (OBJ) sentiment scores.
26
+ """,
27
+ examples=[
28
+ ["osoba koja ne prihvata nove ideje"],
29
+ ["intenzivna ojađenost"],
30
+ ["uopštenih osećanja tuge"],
31
+ ["žalostan zbog gubitka ili uskraćenosti"],
32
+ ["činjenje dobra; osećaj dobrotvornosti"],
33
+ ["Jako pozitivno osećanje poštovanja i privrežen..."],
34
+ ["usrećiti ili zadovoljiti"],
35
+ ["Korisna ili vredna osobina"],
36
+ ]
37
+
38
  )
39
 
40
  iface.launch()