Commit Graph

112 Commits

Author SHA1 Message Date
pngwn
4c63a1d29a
fix token (#4208)
* fix token

* add label
2023-05-14 14:14:44 +01:00
pngwn
8df714f32d
Fix npm publish again again (#4195)
* ci typo

* fix

* again

* again

* again
2023-05-12 22:23:24 +01:00
pngwn
aecf8feb1d
Fix npm publish again again (#4193)
* ci typo

* fix

* again

* again
2023-05-12 21:37:10 +01:00
pngwn
402846020e
Fix npm publish again again (#4192)
* ci typo

* fix

* again
2023-05-12 21:22:41 +01:00
pngwn
45fcb0a190
Fix npm publish again again (#4191)
* ci typo

* fix
2023-05-12 21:03:26 +01:00
pngwn
a4748fb1f1
ci typo (#4190) 2023-05-12 20:40:54 +01:00
pngwn
9ff9735d1f
change (#4189) 2023-05-12 20:21:58 +01:00
pngwn
6e28936e1f
update token for npm action (#4187) 2023-05-12 20:00:12 +01:00
pngwn
ef1049e3b2
update ci (#4184) 2023-05-12 18:58:17 +01:00
Ali Abdalla
128668d88a
Fix create version docs action (#4130)
* define version instead of upgrading

* add sleep

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-09 23:52:13 +04:00
Abubakar Abid
dccf68d914
Removing "State" from view API info (#4107)
* wip pr

* update client version

* update space fetcher

* changelog, workflow

* fix not flaky tests

* lint

* v2
2023-05-08 15:47:40 -05:00
1lint
f97b18ec9d
Allow decoding b64 string without header in processing utils (#4031)
* allow decoding b64 string without headers

* install gradio-client in edittable mode

* update GH actions

* add test for decoding headerless b64

* add test for decoding headerless b64 image

* some linting

* fix test

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-01 18:24:54 -05:00
Aarni Koskela
fa55570b71
CI: Simplify Python CI (#3982)
* CI: use actions/setup-python's native caching

* CI: don't create virtualenvs (CI is run in an isolated context anyway)

* CI: clean up extra directory-creating step

* Changelog

* Update CHANGELOG.md

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-04-28 02:57:44 -04:00
Aarni Koskela
37d52a753c
CI: only run backend lints once, not in all test environments (#3960)
* CI: only run backend lints once, not in all test environments

* Add needses
2023-04-26 15:41:06 -04:00
Hyoung-Kyu Song
d8bfa63a38
theme builder example doesn't work for 3.25.0 or later (#3869)
* theme builder example doesn't work for `3.25.0` or later
Fixes #3864

* update CHANGELOG.md

* Fix import order

* Lint

* added test

* add wheel

* wheel

* wheels

* pip

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-04-16 03:22:45 -07:00
Abubakar Abid
c3e239fca0
changelog for client (#3761) 2023-04-12 13:35:34 -07:00
Abubakar Abid
7c1db51d95
changes (#3760) 2023-04-04 15:16:40 -07:00
Abubakar Abid
c4ad09b631
Adds a pypi release action for the gradio python client (#3743)
* release action

* fixes

* name

* Update version.txt

* Update version.txt

* update

* fixes

* version

* rename

* action

* fix token

* custom dir

* fixes

* change password

* revert back to token

* scripts

* remove twine
2023-04-04 13:51:51 -07:00
Freddy Boulton
070b304e09
CI tweaks (#3752) 2023-04-04 14:02:20 -04:00
pngwn
48e8b113f4
node support for js client (#3692)
* bundle js client + gen types

* changeset

* changeset

* fix bugs

* fix deps

* fix deps

* format

* fix ci

* fix types
2023-04-03 14:33:01 +01:00
Freddy Boulton
f73155ed42
Add status for Python Client Jobs (#3645)
* Add status + unit test (flaky) for now

* Install client

* Fix tests

* Lint backend + tests

* Add non-queue test

* Fix name

* Use lock instead

* Add simplify implementation + fix tests

* Restore changes to scripts

* Fix README typo

* Fix CI

* Add two concurrent test
2023-03-29 18:41:12 -04:00
Freddy Boulton
0b91a3363b
Add job for python client ci (#3674)
* Add job + lint

* Fix path

* Fix path

* Fix path

* Checkout

* Add test requirements

* Fix syntax

* Fix test

* Lint

* Fix deps + README

* Move dependency
2023-03-28 18:52:56 -04: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
space-nuko
e6ea19dee9
Add Windows CI (#3628)
* Add Windows CI

* Update changelog

* fix

* Skip one test on Windows

* Preserve virtualenv path

* Skip another test on Windows

* Make conditional flaky

* Requested changes

* consistent os

* cleanup

* fix test for windows

* remove unnecessary check

* lint

* lint

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-27 11:55:59 -07:00
pngwn
57a0aa194f
fix npm publish (#3582)
* fix npm publish

* correct repo name
2023-03-22 17:53:35 +00:00
pngwn
1e0dd0f1d5
change (#3580) 2023-03-22 15:26:48 +00:00
pngwn
245f80537f
change (#3579)
* change

* change
2023-03-22 15:16:02 +00:00
pngwn
87ec239b14
change (#3578)
* change

* change
2023-03-22 14:42:58 +00:00
pngwn
2d22d4f028
change (#3577)
* change

* formatting
2023-03-22 14:27:14 +00:00
pngwn
6c2b3d1bca
fix ci (#3576) 2023-03-22 14:00:50 +00:00
pngwn
320b46d8d8
fix ci (#3575) 2023-03-22 13:54:03 +00:00
pngwn
e553558a47
3404 publish js client (#3574)
* publish ci setup

* publish ci setup
2023-03-22 13:46:23 +00:00
Freddy Boulton
ce1837f68c
Separate dependencies for python 3.7 and 3.9 (#3548)
* Separate dependencies

* Lint

* Install in dep + revert

* Typo
2023-03-20 16:02:17 -04:00
Ali Abdalla
40b5ab8c29
Remove codecov from the repo (#3415) 2023-03-07 18:04:58 -08:00
Freddy Boulton
fc5e9a2156
Dont cancel non-flaky tests if flaky tests fail (#3344)
* Dont cancel other runs if flaky runs fail

* Fix quote

* CHANGELOG

* Revert deliberate test failure
2023-02-27 17:59:36 -05:00
Abubakar Abid
af320cf25e
Adds a GitHub action to detect if any files > 5 MB are present in the PR (#3013)
* Create large-files.yml

* Update CHANGELOG.md

* Update large-files.yml

* Update large-files.yml

* Update large-files.yml

* Update large-files.yml

* Update large-files.yml

* Update large-files.yml
2023-01-19 07:53:14 -08:00
Freddy Boulton
0091b366af
Move from circleci to gh actions for backend tests (#2927)
* Initial try

* Edit python version

* Do not update

* Trigger failure

* Trigger type check failure

* Undo

* Use cache

* Update cache

* Fix syntax

* Empty

* Activate venv

* indent

* Use python version

* gh action for ffmpeg

* Fix path

* Check fail

* fix failure

* revert fail

* remove cancel in progress
2023-01-18 12:19:39 -05: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
Freddy Boulton
53fa517480
Use gradio-pr-bot to make notebook check comments on PRs (#2925)
* Add new workflow files

* Fix spacing

* Indent

* Single quotes

* indent

* Single quotes

* Reorder steps

* Only comment once

* Comment if true

* Use v2
2023-01-04 10:51:16 -05:00
Freddy Boulton
f0727b9192
Deploy PRs from forks to spaces (#2895)
* store secrets in other repo

* Fix typo

* Use separate job

* trigger

* trigger

* trigger

* trigger

* Set up dependency

* Rename

* Close quotes

* empty

* empty trigger

* empty trigger

* empty trigger

* empty trigger

* empty trigger

* empty trigger

* empty trigger

* empty trigger

* empty trigger

* empty trigger

* empty trigger

* Add files

* CHANGELOG + rename workflow

* Remove echo and use repository owner

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-03 14:24:01 -05:00
Abubakar Abid
a580a93510
Fixing pypi release deployment script (#2786)
* loud

* memory

* force delete

* version
2022-12-09 22:05:15 -08:00
Freddy Boulton
bed288a509
Add support for altair plots (#2741)
* Try clean install

* Resolve peer dependencies?

* frozen lockfile install

* Explicitly use version 16

* Add env

* Add altair demo

* Add unit test

* CHANGELOG

* Add image to changelog

* Add outbreak_forcast notebook

* Try again

* generate again

* Update ui/packages/plot/src/Plot.svelte

Co-authored-by: aliabid94 <aabid94@gmail.com>

* Fix title

Co-authored-by: aliabid94 <aabid94@gmail.com>
2022-12-02 14:53:42 -03:00
Ali Abdalla
67275ec1d6
Add open in colab buttons to demos in docs and /demos (#2608)
* add generate_notebooks and run it

* add buttons to demos tab

* add buttons to docs

* add github check

* fix erros

* Update run.py

* Update run.py

* fix github action

* add nbformat

* wget files from demo directory

* testing with regex

* typo in github action

* cd first

* correct notebooks

* remove prit

* testing

* regenerate ids in notebooks

* testing action

* testing action

* testing action

* sort files before wget so no git diff

* skip DS store and others as sub files

* example demo change without notebook change

* fixes

* example demo change without notebook change

* example regenerated notebooks

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update .github/workflows/check-demo-notebooks.yml

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* gh action comments

* gh action syntax

* gh action syntax fixes

* test demo change without generating notebooks

* ran the suggested command

* remove unnecessary script

* add notebook for upload button demo

* switch to pull_request_target

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-22 16:56:46 -08:00
Ali Abdalla
7f9eb708b3
pinning httpx (#2675) 2022-11-18 14:54:19 -08:00
Ali Abdalla
a80084f3df
Dropdown for seeing docs as latest or main (#2544)
* support docs for pip and git

* upload spaces with gradio wheel

* aws

* upload wheel to aws

* fix error in docker compose

* fix dockerfile

* fix dockerfile

* fix upload demos

* fix upload demos

* styling

* fake change

* remove check_version

* fixes

* fix buttons

* fix navigation on main

* add github action

* build version docs in docker

* fix path and docker errors

* add requests

* fix command

* more docker fixes

* more docker fixes

* no prerelease

* fix restart demos

* undo fake changes, and fix build_version

* fix variable

* fix mistake

* add how to build from main

* new line to requirements

* fix instructions

* Update CHANGELOG.md

* duplicate line in Dockerfile

* switch to github actions, use separate pages

* fix issues in github action

* fix path for github action

* more fixes

* more fixes

* fix github action

* add template

* fix demos template

* update release notes for 3.9

* add -A

* refactor

* keep old version htmls

* unpin gradio version in requirements

* Update website/homepage/src/docs/template.html

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-08 13:02:05 +01:00
Abubakar Abid
db85eb2f3a
Update issue template chooser to link to Discord for general questions (#2582)
* Create config.yml

* Update config.yml

* Update config.yml
2022-11-01 09:04:31 -07:00
Freddy Boulton
89fc21b17d
Install gradio from source in UI tests (#2440)
* Install gradio from source

* CHANGELOG

* Do not upgrade pip
2022-10-12 12:43:44 -04: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
2acebe5490
Fix release notes (#2401) 2022-10-06 14:39:48 -04:00
Freddy Boulton
fb7d768013
Automated Release Notes (#2306)
* add changelog file

* Check release notes

* Fix syntax

* Fix path to changelog

* Use changelog

* Add to changelog

* Add comment

* Test comment

* Use txt file for comment body

* Fix for multiline

* rendering on website, changes to changelog

* Don't use txt file

* Fix pr number

* merge

* Split it up into two

* Test fail

* Follow example

* Fix syntax

* Delete quotes

* Add syntax

* Fix names

* Fix syntax

* Modify pr template instead and remove backticks

* Check word

* changelog file fixes

* add 3.4 release notes to changelog

* add navigation

* replace pr tag and @ usernames with links

* remove empty/unused sections from rendering

* fix format of 3.4 notes

* add releases dir and 3.0-2 notes

* render from releases dir

* remove changelog file

* Fix RN check

* Fix path

* upcoming release title

* switch to periods from dashes

* add link to changelog in docs

* Add script modify files

* Modify changelog

* change to release history

* modify gh actions

* Fix syntax

* Skip draft releases during reformatting

* skip template when rendering

* modify upcoming.md to reflect real changes

* replace links with pr tag

* Add automated release notes as a new feature in upcoming

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* eUpdate website/homepage/src/style.css

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Misc fixes

* one file at root

* Fix Changelog check

* Modify release notes format script

* Fix format script + release notes

* Add to contributing

* Undo change to release notes from testing script

* Add pr 2373 to rl

* Modify file path

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-03 12:36:59 -07:00