Spaces:
Runtime error
Runtime error
lixiang46 commited on
Commit ·
64d0526
1
Parent(s): bb6ffba
add gr.error
Browse files54 unmodified lines5556575859606154 unmodified lines except requests.exceptions.ReadTimeout: print("timeout") info = "Too many users, please try again later" raise gr.Error("Too many users, please try again later") except Exception as err: print(f"其他错误: {err}") info = "Error, pleace contact the admin"app.py+1