Neon-tech commited on
Commit
efedb48
·
verified ·
1 Parent(s): f39e4dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -134,7 +134,7 @@ async def process(state):
134
 
135
  print(f"Downloading msg {msg.id} — {msg.document.file_name} ({msg.document.file_size:,} bytes)")
136
 
137
- for attempt in range(5):
138
  try:
139
  zip_bytes = io.BytesIO()
140
  async for chunk in app.stream_media(msg):
 
134
 
135
  print(f"Downloading msg {msg.id} — {msg.document.file_name} ({msg.document.file_size:,} bytes)")
136
 
137
+ for attempt in range(10):
138
  try:
139
  zip_bytes = io.BytesIO()
140
  async for chunk in app.stream_media(msg):