This commit is contained in:
Abubakar Abid 2020-07-18 13:20:59 -05:00
parent df9f9fd8b4
commit 2f6748ebcb
2 changed files with 5 additions and 5 deletions

View File

@ -18,10 +18,10 @@ import sys
import analytics
INITIAL_PORT_VALUE = os.getenv(
'GRADIO_SERVER_PORT', "7860") # The http server will try to open on port 7860. If not available, 7861, 7862, etc.
TRY_NUM_PORTS = os.getenv(
'GRADIO_NUM_PORTS', "100") # Number of ports to try before giving up and throwing an exception.
INITIAL_PORT_VALUE = int(os.getenv(
'GRADIO_SERVER_PORT', "7860")) # The http server will try to open on port 7860. If not available, 7861, 7862, etc.
TRY_NUM_PORTS = int(os.getenv(
'GRADIO_NUM_PORTS', "100")) # Number of ports to try before giving up and throwing an exception.
LOCALHOST_NAME = os.getenv(
'GRADIO_SERVER_NAME', "127.0.0.1")
GRADIO_API_SERVER = "https://api.gradio.app/v1/tunnel-request"

View File

@ -5,7 +5,7 @@ except ImportError:
setup(
name='gradio',
version='1.0.0',
version='1.0.1',
include_package_data=True,
description='Python library for easily interacting with trained machine learning models',
author='Abubakar Abid',