Buckets:

download
raw
532 Bytes
import sys
import pytest
from gradio import Interface, networking
pytestmark = pytest.mark.skipif(
sys.platform == "win32",
reason="Skipped on Windows as Windows CI doesn't support tunneling",
)
@pytest.mark.flaky
def test_setup_tunnel():
io = Interface(lambda x: x, "number", "number")
io.launch(show_error=True, prevent_thread_lock=True)
share_url = networking.setup_tunnel(
io.server_name, io.server_port, io.share_token, io.share_server_address, None
)
assert isinstance(share_url, str)

Xet Storage Details

Size:
532 Bytes
·
Xet hash:
df70a5e7b63604cae52d4eae0b619792d26e5bd16975f313866a24f01e83a98c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.