HAL1993 commited on
Commit
444a0d9
·
verified ·
1 Parent(s): 302423f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def start_libretranslate():
15
  start(host="0.0.0.0", port=5000, no_cache=True)
16
 
17
  threading.Thread(target=start_libretranslate, daemon=True).start()
18
- time.sleep(5) # Increased wait for server startup
19
  lt = LibreTranslateAPI("http://localhost:5000")
20
 
21
  # --- Torch Optimizations ---
 
15
  start(host="0.0.0.0", port=5000, no_cache=True)
16
 
17
  threading.Thread(target=start_libretranslate, daemon=True).start()
18
+ time.sleep(5) # Wait for server startup
19
  lt = LibreTranslateAPI("http://localhost:5000")
20
 
21
  # --- Torch Optimizations ---