Spaces:
Running
Running
Commit
·
f7fab04
1
Parent(s):
6d12745
minor changes
Browse files- ASR_Server.py +8 -2
ASR_Server.py
CHANGED
@@ -77,8 +77,14 @@ def generateTranscript(ASR_model):
|
|
77 |
)
|
78 |
else:
|
79 |
print(f"Transcript already exists for previously submitted model. Skipping transcription.")
|
80 |
-
job_status
|
81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
return
|
83 |
|
84 |
# # Load test.csv
|
|
|
77 |
)
|
78 |
else:
|
79 |
print(f"Transcript already exists for previously submitted model. Skipping transcription.")
|
80 |
+
job_status.update({
|
81 |
+
"running": False,
|
82 |
+
"model": None,
|
83 |
+
"completed": None,
|
84 |
+
"%_completed" : None,
|
85 |
+
"message": "No Transcription in progress",
|
86 |
+
"total": None
|
87 |
+
})
|
88 |
return
|
89 |
|
90 |
# # Load test.csv
|