-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprediction_examples.py
41 lines (32 loc) · 1.11 KB
/
prediction_examples.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
from prediction import predict_from_text
#Examples
folder = './weights'
Text1 = """But that's alright, because I like the way
it hurts Just gonna stand there and hear me cry """
Text2 = """I drew a line for you Oh what a thing to do
And it was all yellow Look at the stars Look how
they shine for you And all the things that you do"""
Text3 = """He's married to the game, like a fuck you for Christmas
His gift is a curse, forget the Earth, he's got the urge to pull
his dick from the dirt And fuck the whole universe
I'm not afraid (I'm not afraid)"""
Text4 = """Wish we never broke up right now, na na
We need to link up right now, na na I wanna
make up right now, na na"""
Text5 = """Nobody wanna see us together
but """
predict_from_text(Text3, folder)
# #Examples terminal
# artist=['Coldplay','Rihanna','Eminem','Akon','Metronomy']
#
# folder_save='./weights'
#
# sentence_to_ask = 'Give me some text from Lyrics between '
# names =''
#
# names = ', '.join(artist)
#
# sentence_to_ask += names
# text = input(sentence_to_ask)
#
# predict_from_text(text, folder_save)