Ali Abdalla
cd693708cf
Converting the website into sveltekit ( #3437 )
...
* index page
* demos page
* guides gallery page
* guides
* some docs work
* changes
* changes
* docs work
* refactor some to ssr
* more refactoring
* add metatags
* add special docs pages and improve nav
* fix prev next in combining
* add changelog
* Site slugs for new website (#3431 )
* safe slugs for docs
* add slugs to guides
* changes
* add flagging
---------
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
* make anchor tags visible on hover
* add anchor tags to docs
* fix @html in codeblocks
* fix demos in guides
* syntax highlighting code in example usage
* fix @html in changelog
* fix contributing lin
* fix assets in guides
* fix broken assets on build
* error page
* fix meta tags updating
* move guides to be /guides/[guide] instead of /[guide]
* add headers to sections and make them linkable - freddy feedback
* add guides section to docs
* tighten width and add second nav bar
* styling second nav bar
* smooth scrolling in docs and guides
* make components clickable in event listener graph
* load latest gradio.js
* menu bar on docs mobile
* scrolling highlight menu and remove base docs page
* vercel
* refactor guides
* fix slugs in docs
* fix < and code formatting in guides
* added search
* redirect all old links
* fix bad merge
* fix paths
* Fix css issue with spaces logo
* add status page link to footer
* add themes to docs
* fix new documentation.py path
* add python client docs
* make docs faster
* add clients ot docs
* colors
* convert to adapter static
* prerender
* fix broken paths in guides
* fix broken slugs
* Aliabd/website sveltekit test (#4572 )
* fixes to paths
* fixes
* typechecking
* fix
* fix
* fix
* types lib
* more type fixes
* extends fix
* typing fix
* typing fix
* json typing fix
* add jsons
* rollup
* tweak
* fix lockfile
* fix maybe
* fix maybe
* changes
* ui functional fix
* oops
* pnpm version
* fix app
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-04 16:33:22 +03:00
Hannah
33b5954a3b
Add gradio storybook ( #4696 )
...
* initialise storybook
* fix storybook config
* more config
* add test story
* add button story
* add a11y addon
* add chromatic job
* fix script path
* fix path again
* yml tweak
* typo
* tweak
* tweak job
* change when job runs
* revert change
* revert lockfile
* config tweaks
* regen lockfile
* tweak
* tweak
* move chromatic tests to ui workflow
* tweak
* add install deps cmd
* add install pnpm input
* job tweak
* test
* clean up
* regen lockfile
* remove redundant option
* workflow tweak
* tweak
* tweak
* cli tweak
* cli tweak
* restore inspector prop
* skip frontend gradio build and post sb url to PR
* remove pollen import
* cancel job if no-visual-update tag present
* move stoeybook files to /js and amend pnpm scripts
* tweak theme css script
* tweak action body / test tag
* fix plot test and tweak pr comment job
* fix yml
* add gh token
* test
* update pnpm lock
* yml test
* restore yml update comment
2023-07-03 16:21:00 +02:00
Freddy Boulton
340718e6c2
Slider browser unit tests ( #4681 )
...
* First commit
* Fix test
* move to .config
* indent
* Upgrade pnpm
* Lint + ts
* Add more tests
* Lint
* fix test
* Use spy
2023-06-27 10:28:27 -04:00
Freddy Boulton
c7081e5747
Fix AnnotatedImage styling + add demo ( #4628 )
...
* Fix css + add demo
* CHANGELOG
* Add image_segmentation
* Add notebook
* Fix demo
* Fix demos
2023-06-23 12:49:26 -04:00
pngwn
1b4cb3300b
Eslint ( #4593 )
...
* make eslint work
* add vscodes recommendations + settings
* more
* format
* add to ci but ignore failures
* fix
* fix lockfil
* fix
* Update .config/.eslintrc.cjs
Co-authored-by: Aarni Koskela <akx@iki.fi>
* implement review suggestions
* typo
* fix
* tweak
* add globals and fix client linting
* fix type errors
---------
Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-06-22 11:25:27 +01:00
pngwn
d6b6c87c4f
Remove mocks ( #4550 )
...
* changes
* changes
* remove mocks
* fix scripts
* tweak port
* add logs
* add logs
* do tests again
* tweaks
* fixes
* regen notebooks
* change workers
* change workers
* try to speed up ci
* try again
* try again
* try again
* try again
* try again
* fix actions
* again
* again
* again
* again
* again
* again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* add names to frontend ci steps
2023-06-19 21:02:03 +01:00
2-5
9abe5d362d
Added dev containers support ( #4417 )
...
* Added devcontainer support
* Updated CHANGELOG.md
* Added Dev Containers info to CONTRIBUTING.md
* Removed redundant extension
* Updated docker URLs
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-08 15:00:20 -05:00
pngwn
963c2d26ee
3712 js client ( #3899 )
2023-05-12 16:22:25 +01:00
pngwn
ae4277a9a8
move files ( #3605 )
...
* move files
* commit the rest of the files
* fix lockfile
* fix workflow
* fix type errors
* fix tests
* only run ci when certain files change
* run correct test command in ci
* version
* fix pypi script
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-27 16:12:58 -07:00
gitgithan
ee1a76fd10
fix #3282 avoid in-place dict updates ( #3405 )
...
* fix #3282 avoid in-place dict updates
* add tests and changelog for PR3405
2023-03-07 10:12:19 -08:00
Abubakar Abid
f37d17089d
Fixes components when loading private spaces ( #3068 )
...
* file routes
* adding access token
* add reverse proxy
* adding access token
* context
* rewrite
* frontend
* formatting
* changelog
* formatting
* fix tests
* fixed image issue
* fix frontend
* os removal
* Update test_external.py
* fixes to normalise
* version
* fixes so that functions work
* lint
* formatting
2023-02-07 07:55:51 -08:00
pngwn
d6fbc32ed1
Theme base 2 ( #2840 )
...
* add theme + theme atoms
* audio
* buttons
* chatbot
* forms
* start file
* complete file
* fixup workbench
* gallery
* highlighted text
* label
* json
* upload
* 3d model
* atoms
* chart
* md + html
* image
* plot + build
* table
* tabs
* tooltip
* upload
* tweaks
* tweaks + more tooling
* tweaks to padding/ lineheight
* app components _ start api docs
* format, more api docs
* finish api docs
* interpretation
* todos
* tweaks + cleanup
* tweaks + cleanup
* revert range tweaks
* fix notebooks
* fix test
* remove tw
* cleanup + login
* fix gitignore
* fix types
* run css script
* fix progress + tweaks
* update demos
* add css build to static check workflow
* tweak ci
* fix tests
* tweak markdown
* tweak chatbot + file
* fix tabs
* tweak tabs
* cleanup
* fix api docs
* fix example gallery
* add gradient to toast
* fix min height for interfaces
* revert tab changes
* update notebooks
* fix generating status animation
* fix weird table scrollbar that only appears on freddy's computer
* format
* fix dataset in gallery mode
* cleanup
* fix notebooks
* tweaks
* fix notebooks
* change
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-01-17 12:47:40 -08:00
Abubakar Abid
53005ab88a
Switch from SSH tunneling to FRP ( #2509 )
...
* FRP Poc (#2396 )
* FRP Poc
* Gracefully handle exceptions in thread tunneling
* comments
* Fix share error message when files are built locally (#2502 )
* fix share error message
* changelog
* formatting
* tunneling rename
* version
* formatting
* remove test
* changelog
* version
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Wauplin <lucainp@gmail.com>
* 2509
* updated url to testing.gradiodash.com
* gradiotesting
* format, version
* gradio.live
* temp fix for https
* remove unnecessary tests
* version
* updated tunnel logic
* formatting and tests
* load testing
* changes
* Make private method + generate privilege key (#2519 )
* rm load test
* frp
* formatting
* Update run.py
* Update run.py
* updated message
* share=True
* [DO NOT MERGE] Add pymux for FRP (#2747 )
* Add pymux for FRP
* Cleaning pyamux
* Cleaning pyamux + make it work
* Forgot the thread
* Reformat
* some logs to be removed afterwards
* added share to hello world
* Transform into object
* I guess it's cleaner now
* Handle 404 + Transform to object
* Fix params names
* Add debug
* windows fix
Co-authored-by: Wauplin <lucainp@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* removed share=True
* formatting
* hello world notebook
* version
* fixes
* formatting
* testing tunneling exists
* tests
* formatting
* lint
* Remove asyncio + kill proc on exit
* version
* version
* update changelog
* explicit message about reporting
Co-authored-by: Adrien <adrien@xcid.fr>
Co-authored-by: Wauplin <lucainp@gmail.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-12-14 08:10:45 -06:00
pngwn
ed4f3e4ffd
add snapshot testing ( #2438 )
...
* add snapshot testing
* bump ci image
* tweak
* tweak
* fix gitgignore
* fix gitgignore
* dedicated snapshot script
* clean up tests
* tweaks
* fix ci
* fix script
* oops
* fix
2022-10-12 17:30:42 +01:00
Freddy Boulton
8e24d5d646
Deploy All Demos to Spaces on PRs ( #2012 )
...
* Add step to deploy to spaces on release
* Import package not modules
* Lint
* Hacky solution
* Add app file
* Github actions script
* Fix bucket url
* Update versioning
* Fic typo in script
* Change path
* Fix quote
* Clean up action
* Fix keys
* Formatting + comment
* Fix all_demo creation
* lint ui
* Get latest pypi version and use only 20 demos
* Test version change works correctly
* Fix gradio version
* Fix typo
* Use github sha to rebuild on every commit
* Get sha the proper way
* Change where env is accessed
* Fix typo in cp
* Undo changes to version.txt
* Add matrix transpose
2022-08-16 12:07:20 -04:00
Freddy Boulton
057239b1d3
Use requirements.txt to specify dependencies. Delete egg-info ( #1669 )
...
* Use requirements.txt
* Fix checksum in circleci
* Ignore egg info dir
* Install from requirements.txt
* Install gradio
* Use importlib instead of pkg_resources
2022-07-04 06:57:12 -07:00
aliabid94
a4aa6a2cb9
Add embedded demos to website ( #1270 )
...
* adding gallery
* added netlify files
* new navbar design
* header section new design
* used by section new design
* cards section new design
* integrates with section new design
* customer stories section new design
* footer and gradient
* demos section new design
* docs fixes
* docs reorg
* docs reorg
* upgrading to tailwind 3
* tailwind config changes
* navbar new design
* fixing body on all pages
* Updating Guides (#1012 )
* updating getting started
* updated codecov version
* tweaks to gs
* added netlify file
* added netlify file
* website prebuild script
* increased code size
* blocks
* edits
* blocks_hello
* hello world
* guide
* merge main
* added flipper demo
* guide
* guide
* add guides
* tweak to refresh website
* header section new design
* demos section new design
* cards design
* used by section
* tweets section
* footer on all pages
* mobile responsive fixes
* mobile responsive fixes
* https fonts
* completed blocks guide
* unify components
* minor tweaks
* docs headers styling and navigation pane
* parameter code blocks
* styling description and input type
* parameter tables and other styling
* only documenting interactive components when possible
* guides
* embedding not working
* demos not working
* fixing demo code
* fixing demos
* demo fix
* updated demos
* updated demos
* ui update
* updated docstrings
* updated code snippets so they run
* updating docs
* Interface docs
* updating interface
* fixing parameters in interface.py
* required and defaults for interface, and styling
* fixing up interface (#1207 )
* fixing up interface
* fixed interface methods
* formatting
* updating interface docs
* updating interface docs
* formatting
* docstring to load from docstrings
* fixed colors
* finalize interface content
* interface examples
* fixed examples
* added some blocks docs
* blocks
* component fixes
* reorganized some files (#1210 )
* formatting
* added info for every component
* fixes
* blocks docs
* added blocks demos
* adding combined interfaces
* added parallel, series
* Doc: layout update (#1216 )
* doc layout
* home spacing
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* adding layouts
* layouts done
* added events for components
* formatting and https
* brings back dropdown and other components
* fix header ids
* moved ids and fixed nav
* added parameters for remaining component
* docstring fixes
* landing page demos
* demo window placeholder
* demo nav
* fixed test
* formatting
* demo code
* correctly importing gradio css/js
* remove keyvalues
* modify launch script to move gradio assetS
* components embedded test
* correct demo name
* hide try demo and embedding
* local devserver changes
* create embedding json with configs
* changes
* fixes
* comment out layout docs
* demo work
* demo fixes
* demo embedding fixes
* typo
* jinja fix
* demo nav fix
* hide demo button
* formatting
* removed whitespace
* remove newline from parameter
* styling demo window
* copy work
* hide demo buttons
* remove index
* remove layouts from docs
* remove merge artifact
* merge dockerfile
* chagnes
* changes
* changes
* changes
* styling demo window
* revert most things
* whoops
* chagnes
* changes
* changes
* changes
* changes
* changes
* changes
* format
* changes
* fixed Dataset docstring
* fix component signature and add required
* adding string shortcuts
* fix small issues parameter docstringss
* string shortcuts
* fixed gallery and label values
* added for remaining parameters
* formatting
* extended embedded components
* typo
* remove capitalization from embeddings
* try examples button
* added demos for blocks and combining interfaces
* demos styling
* homepage update (#1275 )
* spacing
* remove console.log
* demo window fixes
* new spaces
* shorten codeblock width
* fix plot
* better string shortcuts
* add embedding config for json
* remove console log
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
2022-05-16 11:45:38 -04:00
pngwn
0c94b56b0a
Cdn assets ( #1265 )
...
* create dediacted cdn bundle with correct import behaviour
* tweak regex
* update publish script
* fix gitignore
* remove repeat incidences of version
* remove logs
2022-05-15 20:43:36 +01:00
pngwn
5ba2e06e69
Tweaks ( #1230 )
...
* tweaks
* tweaks
* tweak loader dark mode
* gallery tweaks
2022-05-12 19:24:28 +01:00
pngwn
0cecff4672
Form layout ( #1054 )
...
* implement form grouping
* demo to showcase form groups
* cleanup
* apply tw classes for custom classes
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
* fix formatting
* ignore index.html
* fix gitignore
* fix gitignore
* fix gitignore
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
2022-04-22 10:19:59 +01:00
Julien Chaumond
9ba043673e
Fix type of server returned by Launchable
( #810 )
...
* `Launchable` returns a FastAPI now
* Update .gitignore
Former-commit-id: ab67ce3dee
[formerly ab67ce3dee
[formerly ab67ce3dee
[formerly 94fac2e3df
]]]
Former-commit-id: 8f3286222adedac2cab99e7b49375ec0e05c032b
Former-commit-id: 03286cf5231b06b024a00b03ca63d01def19df24
Former-commit-id: 29e5bfb583
2022-03-11 14:01:03 -08:00
pngwn
4f0b892d39
use relative basepath ( #665 )
...
* use relative basepath
* remove lang folder from template
* gitignore frontend folder
2022-02-18 13:50:34 +00:00
pngwn
7ac497ad34
Build tweaks ( #529 )
...
* build tweaks
* update build output location for frontend
2022-02-03 10:35:14 +00:00
aliabid94
d6b1247e21
Svelte migration (WIP) ( #448 )
...
* first migration commit
* style comment
* first mvp working with calculator
* ali components
* carousel
* more changes
* changes
* add examples
* examples support
* more changes
* interpretation
* interpretation
* submission state
* first migration commit
* style comment
* first mvp working with calculator
* ali components
* carousel
* more changes
* changes
* add examples
* examples support
* more changes
* interpretation
* interpretation
* submission state
* base image cropper
* add image editor
* css tweaks
* remove dead code
* finalise sketch tools
* add webcam snapshot source
* tweak config
* tweak config
* tweak config
* tweaks
* reset egg files
* lockfile v2
* image tweaks
* record audio from mic
* add audio input components
* audio tweaks
* editable table
* more table tweaks
* sort columns
* add row/col to table
* add output table
* fix broken paths
* fix svelte build destination
* fix svelte build destination again
* fix gitignore
* fix css
* add themes
* add all themes
* snake core classnames
* actually fix themes this time
* merge changes
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: pngwn <hello@pngwn.io>
2022-01-26 18:33:49 -08:00
Ali Abid
5020f8aa1f
cache examples functionality; other fixes
2021-12-30 08:20:28 +00:00
Ali Abid
63a4540b92
updated PyPi version
2021-12-27 19:24:42 +00:00
Abubakar Abid
def76d1cbd
flagging is working
2021-12-23 10:05:08 -06:00
aliabid94
b4d9825409
Website: WIP ( #328 )
...
Ported gradio website into gradio repository, now launched as a docker service from gradio/website
2021-12-13 22:02:19 -08:00
Abubakar Abid
077c5e2867
added flagged to gitignore
2021-11-08 12:18:10 -06:00
Ali Abdalla
9bf16c2211
Adding API docs to all interfaces ( #309 )
...
* api view with basic html
* added base docs for raw inputs/outputs
* reading correct url from frontend
* styling
* fill in the blank request snippet
* post a request from docs
* post button and random generator
* styling
* added view the api to interface
* style changes
* corrected input output docs
* prefill with example instead of random
* added curl and javascript syntax
* removed scrollbars
* API doc fixes
* added correct docs to all pre/post processing methods
* updated to new doc style
* live demo with sample inputs
* fixing golden screenshots
* correct timeseries preprocess doc
* correct timeseries preprocess doc
* correct timeseries preprocess doc
* fixed overwrite issue
* remove static from git
* fix merge
* fix tests
* fix tests
* fix tests
Co-authored-by: Ali Abid <you@example.comgit>
2021-10-27 11:49:14 -07:00
Abubakar Abid
eb7bc8f98e
added codecov
2021-10-13 23:18:33 -05:00
Abubakar Abid
c226eabe68
added coverage workflow
2021-10-13 22:42:00 -05:00
Ali Abid
bf4ae17adc
restructure file upload format for file, audio, and video. Moved scipy to pydub.
2021-10-12 19:14:42 +00:00
root
5ecd27cca8
updated PyPi version
2021-08-17 20:42:07 +00:00
Ali Abid
6bcb9b4dd4
fix tests
2021-08-17 18:45:17 +00:00
Ali Abid
a78635aff3
fix tests
2021-08-17 18:42:30 +00:00
Ali Abid
d0edd2e7f0
make gitignore changes and test fix
2021-08-11 18:39:32 +00:00
Abubakar Abid
7cfa536a98
git changes
2021-08-09 10:48:23 -07:00
Abubakar Abid
fc33e842d2
changed readme to 72 hours
2021-07-21 15:46:15 -05:00
Ali Abid
f6522a9943
upload to s3 bucket for cdn
2021-05-29 17:09:01 -07:00
Ali Abid
646b262290
gradio 2.0
2021-05-24 13:25:12 -07:00
Ali Abid
2915977a8a
end to end react to flask
2021-05-24 10:23:08 -07:00
aliabd
671263c476
added launch counter
2020-12-05 01:02:07 +04:00
Ali Abid
b49670cb13
remove build
2020-12-01 11:49:44 -08:00
Ali Abid
14ba503b77
add testing and flask changes
2020-09-21 11:51:39 -07:00
Ali Abid
10c8cf60bf
in progress
2020-09-15 05:16:14 -07:00
Ali Abid
c5edfc295e
demo updates
2020-08-21 16:17:11 -07:00
Ali Abid
55933718ce
examples load fix
2020-07-21 07:24:38 -07:00
Ali Abid
a401927af6
docs and new UI
2020-07-16 12:56:36 -07:00
aliabd
aca36acd47
merge
2020-07-08 16:52:17 -07:00