Spaces:
Sleeping
Sleeping
Commit
·
8d7ef77
1
Parent(s):
6478648
minor change
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def transcribe(inputs, use_api):
|
|
50 |
# Calculate the percentage of RAM used by this process
|
51 |
memory_used_percent = round((memory_used / psutil.virtual_memory().total) * 100, 2)
|
52 |
|
53 |
-
return res, API_STATUS + str(round(end, 2)) + ' seconds', f"RAM Used by code: {memory_used_gb} GB ({memory_used_percent}%) Total RAM: {total_memory_gb}"
|
54 |
|
55 |
|
56 |
except Exception as e:
|
|
|
50 |
# Calculate the percentage of RAM used by this process
|
51 |
memory_used_percent = round((memory_used / psutil.virtual_memory().total) * 100, 2)
|
52 |
|
53 |
+
return res, API_STATUS + str(round(end, 2)) + ' seconds', f"RAM Used by code: {memory_used_gb} GB ({memory_used_percent}%) Total RAM: {total_memory_gb} GB"
|
54 |
|
55 |
|
56 |
except Exception as e:
|