gradio/web/sharing.html
2019-03-02 23:33:34 -08:00

52 lines
2.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html>
<head>
<title>GradIO</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<link href="style/style.css" rel="stylesheet">
<link href="style/sharing.css" rel="stylesheet">
<link href="style/gradio.css" rel="stylesheet">
</head>
<body>
<nav>
<img src="img/logo_inline.png" />
<a href="home.html">GradIO</a>
<a href="getting_started.html">Getting Started</a>
<a class="selected" href="sharing.html">Sharing</a>
</nav>
<div class="content">
<h1>Sharing</h1>
<p>GradIO comes with built in support for sharing models. When GradIO
launches an interface for a model, it also creates a shareable link that
can be sent out by the creator to collaborators so they can access the
interface from their browsers. The link does not require these remote
users to have GradIO, Python, or any environment set up.</p>
<p>This link, which is printed to the console, is generated by adding
the parameter <code><span class="var">share</span>=True</code> when
launching the interface: e.g. <code>io.<span
class="func">launch(</span><span class="var">share</span>=True<span
class="func">)</span></code>. The link stays active for 8 hours.
Other users can access the GradIO interface from the link remotely, but
the model stays on the original host computer. When remote users submit
inputs to the GradIO interface, the browser makes a call to the host
computer with the input provided. On the host, the model will generate
the output based on the provided input, and return the output, which
will be rendered in the remote browsers output pane. </p>
<p>Because these remote interfaces will run models on the host machine
and draw from its compute power, we do not recommend publicly share the
generated links. Distribute them among trusted colleagues only.</p>
<div id="sharing_explained">
<img src="img/sharing_explained.png" /><br>
When the remote user submits an input from their interface, the model
executes on the host computer.
</div>
<h1>Public Hosting</h1>
<p>The option for permanent public hosting on GradIO servers is coming
soon! You will be able share your model publicly and collect user input
data in this upcoming feature.</p>
</div>
<footer>
<img src="img/logo_inline.png" />
</footer>
<body>
</html>