remove gradio tunnel env

This commit is contained in:
Henry Ruhs 2024-09-18 01:25:00 +02:00 committed by GitHub
parent 7c6a7ce509
commit 790c346dbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,6 @@ from facefusion.uis import overrides
from facefusion.uis.typing import Component, ComponentName
os.environ['GRADIO_ANALYTICS_ENABLED'] = '0'
gradio.networking.GRADIO_API_SERVER = os.getenv('GRADIO_TUNNEL_URL', gradio.networking.GRADIO_API_SERVER)
warnings.filterwarnings('ignore', category = UserWarning, module = 'gradio')