RemVdH commited on
Commit
d67087c
·
verified ·
1 Parent(s): 15a68a1

Update tools/play_music.py

Browse files
Files changed (1) hide show
  1. tools/play_music.py +3 -3
tools/play_music.py CHANGED
@@ -8,9 +8,6 @@ class PlaySomeMusicMeastro(Tool):
8
  inputs = {'query_song': {'type': 'string', 'description': 'The song to play.'}}
9
  output_type = "string"
10
 
11
- def forward(self, answer: Any) -> Any:
12
- return answer
13
-
14
  def __init__(self, *args, **kwargs):
15
  super().__init__()
16
  # try:
@@ -21,6 +18,9 @@ class PlaySomeMusicMeastro(Tool):
21
  # ) from e
22
  # self.ddgs = DDGS(**kwargs)
23
 
 
 
 
24
  def forward(self, query: str) -> str:
25
  gr.Audio(value="../resources/GenAI Revolution.mp3", autoplay=True)
26
 
 
8
  inputs = {'query_song': {'type': 'string', 'description': 'The song to play.'}}
9
  output_type = "string"
10
 
 
 
 
11
  def __init__(self, *args, **kwargs):
12
  super().__init__()
13
  # try:
 
18
  # ) from e
19
  # self.ddgs = DDGS(**kwargs)
20
 
21
+ # def forward(self, answer: Any) -> Any:
22
+ # return answer
23
+
24
  def forward(self, query: str) -> str:
25
  gr.Audio(value="../resources/GenAI Revolution.mp3", autoplay=True)
26