Change a warning message
This commit is contained in:
parent
9ee1e37121
commit
2f811b1bdf
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ for k in deprecated_dict:
|
||||||
if args.trust_remote_code:
|
if args.trust_remote_code:
|
||||||
logger.warning("trust_remote_code is enabled. This is dangerous.")
|
logger.warning("trust_remote_code is enabled. This is dangerous.")
|
||||||
if args.share:
|
if args.share:
|
||||||
logger.warning("The gradio \"share link\" feature downloads a proprietary and unaudited blob to create a reverse tunnel. This is potentially dangerous.")
|
logger.warning("The gradio \"share link\" feature uses a proprietary executable to create a reverse tunnel. Use it with care.")
|
||||||
|
|
||||||
|
|
||||||
def add_extension(name):
|
def add_extension(name):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue