Mbonea commited on
Commit
fde1ba6
·
1 Parent(s): f0d01c4

initialization

Browse files
Files changed (1) hide show
  1. App/TTS/utils/Pi.py +1 -1
App/TTS/utils/Pi.py CHANGED
@@ -80,7 +80,6 @@ class PiAIClient:
80
 
81
  # Mapping from sid to (Future, VoiceType)
82
  self.sid_futures = asyncio.Queue()
83
- self.initialized = True
84
 
85
  def ensure_download_directory(self):
86
  """Ensure that the downloads directory exists."""
@@ -126,6 +125,7 @@ class PiAIClient:
126
 
127
  # Start the monitoring task
128
  asyncio.create_task(self.monitor_page_and_act())
 
129
 
130
  async def navigate(self, url: str):
131
  """Navigate to the specified URL and wait for the page to load."""
 
80
 
81
  # Mapping from sid to (Future, VoiceType)
82
  self.sid_futures = asyncio.Queue()
 
83
 
84
  def ensure_download_directory(self):
85
  """Ensure that the downloads directory exists."""
 
125
 
126
  # Start the monitoring task
127
  asyncio.create_task(self.monitor_page_and_act())
128
+ self.initialized = True
129
 
130
  async def navigate(self, url: str):
131
  """Navigate to the specified URL and wait for the page to load."""