New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3712 js client #3899
Merged
Merged
3712 js client #3899
Changes from 14 commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
ed29ec1
update api
pngwn 7cbff03
private space support
pngwn 0fa2fd3
cleanup
pngwn d8301df
add info to js client
pngwn 42ee708
duplication
pngwn d153890
cleanup
pngwn 8405d71
readme
pngwn 8236b00
update readme
pngwn a278e99
clean up readme
pngwn 8f65e27
Merge branch 'main' into 3712-js-client
pngwn 97dfd1a
fix formatting
pngwn 888807b
changelog
pngwn 781f77a
fix ts
pngwn f3104ef
fix Buffer check in node
pngwn 2e780f0
Update Hugging Face style
pngwn bf174b8
guide start
pngwn 2cd8f63
Merge remote-tracking branch 'origin/3712-js-client' into 3712-js-client
pngwn dcf3aac
Merge branch 'main' into 3712-js-client
pngwn 69e5deb
Add js client documentation to docs (#3925)
aliabd 386705d
guide
pngwn 6d3f09d
fix api + cancels
pngwn e53be52
changes?
pngwn 271e5b4
changes
pngwn 1e77bb7
updates
pngwn 92d77bc
Merge remote-tracking branch 'origin/3712-js-client' into 3712-js-client
pngwn 90677d1
format
pngwn b46f1ea
changes
pngwn 33cda9d
fix everything
pngwn 4008d98
tweak api info
pngwn b651a74
Merge branch 'main' into 3712-js-client
pngwn 101f3cd
allow info endpoint to fail gracefully
pngwn 80ba866
tweaks
pngwn 4b54747
handle older version
pngwn a5a79b4
things
pngwn 931a817
update status in app
pngwn 0fefd21
fix things
pngwn e76434a
Merge branch 'main' into 3712-js-client
pngwn 22467c5
fix status
pngwn 04df3c3
update guide
pngwn f6a2f12
update readme
pngwn 0a96be1
Merge branch 'main' into 3712-js-client
pngwn 431aa5f
changes
pngwn a9cd96e
support hardware and timeout for duplicate
pngwn c21f0e0
be more defensive when closing ws connections via cancel
pngwn 2b7e2ad
add destroy method, call when prediction is over or cancelled
pngwn 8643675
tweaks
pngwn 5be28d0
upadte docs
pngwn e2cee78
fix docs, better hardware support
pngwn 423fb87
Merge branch 'main' into 3712-js-client
pngwn ba7174e
tweak
pngwn 349e8ff
formatting
pngwn 6abfdf1
formatting
pngwn 2db0d84
ts
pngwn 9e34b30
Merge branch 'main' into 3712-js-client
abidlabs e20c012
Merge branch 'main' into 3712-js-client
abidlabs 70f6c8b
Merge branch 'main' into 3712-js-client
pngwn 6aea68f
fix changelog
pngwn 32662ff
update version for space fetcher
pngwn f906a33
fix
pngwn cd38584
fix tests
pngwn 4a76ae8
update guide
pngwn 220a24d
format readme
pngwn edf2077
format
pngwn dca66ad
Merge branch 'main' into 3712-js-client
pngwn c1ff015
Add JS to use via api (#3927)
aliabd File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,4 +58,5 @@ gradio/frpc_* | |
# js | ||
node_modules | ||
public/build/ | ||
test-results | ||
test-results | ||
client/js/test.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once we've published, it would be really nice to have the CDN link here as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yeah, I'll figure that out as soon as possible.