vsrinivas commited on
Commit
011abb8
·
verified ·
1 Parent(s): 0f8a652

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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: