Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,7 @@ import translators.server as tss
|
|
13 |
import psutil
|
14 |
limitation = os.getenv("SYSTEM") == "spaces" # limit text and audio length in huggingface spaces
|
15 |
max_len = 150
|
|
|
16 |
def show_memory_info(hint):
|
17 |
pid = os.getpid()
|
18 |
p = psutil.Process(pid)
|
|
|
13 |
import psutil
|
14 |
limitation = os.getenv("SYSTEM") == "spaces" # limit text and audio length in huggingface spaces
|
15 |
max_len = 150
|
16 |
+
|
17 |
def show_memory_info(hint):
|
18 |
pid = os.getpid()
|
19 |
p = psutil.Process(pid)
|