Spaces:
Sleeping
Sleeping
ulysses115
commited on
Commit
•
0c151d7
1
Parent(s):
2acab66
Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,8 @@ def audio_postprocess(self, y):
|
|
29 |
if y is None:
|
30 |
return None
|
31 |
|
|
|
|
|
32 |
if gr_utils.validate_url(y):
|
33 |
file = gr_processing_utils.download_to_file(y, dir=self.temp_dir)
|
34 |
elif isinstance(y, tuple):
|
|
|
29 |
if y is None:
|
30 |
return None
|
31 |
|
32 |
+
self.temp_dir = "./"
|
33 |
+
|
34 |
if gr_utils.validate_url(y):
|
35 |
file = gr_processing_utils.download_to_file(y, dir=self.temp_dir)
|
36 |
elif isinstance(y, tuple):
|