Spaces:
Runtime error
Runtime error
cosmetics change
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ def tts(language: str, audio_microphone: str, audio_file: str):
|
|
96 |
gpu_utilization, gpu_memory = GPUInfo.gpu_usage()
|
97 |
system_info = f"""
|
98 |
*Memory: {memory.total / (1024 * 1024 * 1024):.2f}GB, used: {memory.percent}%, available: {memory.available / (1024 * 1024 * 1024):.2f}GB.*
|
99 |
-
*Processing time: {time_diff:.5} seconds
|
100 |
*GPU Utilization: {gpu_utilization[0]}%, GPU Memory: {gpu_memory[0]}MiB.*
|
101 |
"""
|
102 |
print(f"### {datetime.now()} fp.name:", fp.name)
|
|
|
96 |
gpu_utilization, gpu_memory = GPUInfo.gpu_usage()
|
97 |
system_info = f"""
|
98 |
*Memory: {memory.total / (1024 * 1024 * 1024):.2f}GB, used: {memory.percent}%, available: {memory.available / (1024 * 1024 * 1024):.2f}GB.*
|
99 |
+
*Processing time: {time_diff:.5} seconds.*
|
100 |
*GPU Utilization: {gpu_utilization[0]}%, GPU Memory: {gpu_memory[0]}MiB.*
|
101 |
"""
|
102 |
print(f"### {datetime.now()} fp.name:", fp.name)
|