Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -92,12 +92,12 @@ def transcribe(microphone, file_upload, progress=gr.Progress(track_tqdm=True)):
|
|
92 |
system_info = f"""
|
93 |
Processing time: {output_time:.2f} seconds.
|
94 |
Number of words: {word_count}
|
95 |
-
Memory used: {memory.percent}%
|
96 |
-
GPU Utilization: {gpu_utilization}%
|
97 |
GPU Memory: {gpu_memory}
|
98 |
-
CPU Usage: {cpu_usage}%
|
99 |
"""
|
100 |
#--------------____________________________________________--------------"
|
|
|
|
|
|
|
101 |
|
102 |
return text, system_info
|
103 |
|
|
|
92 |
system_info = f"""
|
93 |
Processing time: {output_time:.2f} seconds.
|
94 |
Number of words: {word_count}
|
|
|
|
|
95 |
GPU Memory: {gpu_memory}
|
|
|
96 |
"""
|
97 |
#--------------____________________________________________--------------"
|
98 |
+
#CPU Usage: {cpu_usage}%
|
99 |
+
#Memory used: {memory.percent}%
|
100 |
+
#GPU Utilization: {gpu_utilization}%
|
101 |
|
102 |
return text, system_info
|
103 |
|