Update app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,8 @@ language_choices = ["English", "Polish", "Hindi", "Arabic"]
|
|
34 |
|
35 |
def clear_all():
|
36 |
global meeting_texts
|
37 |
-
meeting_texts = [] # Reset meeting texts
|
38 |
-
return [None] * (n_participants * 4 + 1) # Reset outputs of transcripts, translated texts, and dubbed videos
|
39 |
|
40 |
|
41 |
def wait_for_dubbing_completion(dubbing_id: str) -> bool:
|
|
|
34 |
|
35 |
def clear_all():
|
36 |
global meeting_texts
|
37 |
+
# meeting_texts = [] # Reset meeting texts
|
38 |
+
return [[None] * (n_participants * 4 + 1)].append(gr.State([])) # Reset outputs of transcripts, translated texts, and dubbed videos
|
39 |
|
40 |
|
41 |
def wait_for_dubbing_completion(dubbing_id: str) -> bool:
|