Commit Graph

140 Commits

Author SHA1 Message Date
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
Dawood Khan
55e6f40f80
Typeable value on gradio.Slider (#2329)
* typeable number slider

* fix hardcoded files in test configs

* test

* test fix
2022-09-26 23:00:02 -04:00
Freddy Boulton
eaae71fdd1
Don't deploy to spaces on release (#2313) 2022-09-21 12:06:24 -04:00
Freddy Boulton
1a0021e432
Do not deploy pr to spaces on prs originating from forks (#2274)
* Disable deployments from running on forks

* Update workflow file

* Undo change to pypi workflow
2022-09-15 13:03:06 -04:00
Ofek Lev
f43481c18a
Update package metadata (#2226)
* Update package metadata

* address review
2022-09-14 17:39:46 -04:00
Freddy Boulton
5e7f5a0f6b
Delete spaces created on PRs after a certain amount of time (#2249)
* Add script to delete spaces

* Add workflow

* See if required=false fixes it

* Fix input param

* Run again

* Test delete 2

* Delete for real

* Fix typo

* Undo changes for testing

* pass api
2022-09-14 11:15:26 -04:00
Abubakar Abid
3464673064
Add manual trigger to deploy to pypi (#2192)
* Create test.yml

* Update deploy-pypi.yml

* Update deploy-pypi.yml

* Delete test.yml

* fixes

* fixes

* check pypi

* check pypi

* version

* version
2022-09-06 13:49:49 -07:00
Dawood Khan
13915f9c11
[Integration Tests] Update a demo's config.json as part of integration test (#2005)
* add script to create configs for test demos

* no message

* fixes

* fixes

* fix

* test fix

* test fix

* format

* fix
2022-08-17 15:43:26 -04: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
21f9da9380
Automatically deploy kitchen sink to spaces on release (#1994)
* Add step to deploy to spaces on release

* Import package not modules

* Lint

* Add comment on slack
2022-08-12 11:51:36 -04:00
pngwn
a039810e51
fix pnpm filters for 7.x (#1927)
* fix pnpm filters for 7.x

* update ci to use pnpm 7

* try a thing

* reinstall types

* usin pnpm dlx instead of pnpx

* usin pnpm dlx instead of pnpx

* explicitly add playwright as dependency

* update lockfile

* update ci

* update ci

* install same version of @playwright/test and playwright

* fix browser downloads
2022-08-02 12:02:06 -07:00
pngwn
817819d7a1
Fix the types (#1843)
* fix types

* fail CI when typechecking fails

* maybe fix

* more fix

* remove all rferences to theme

* fix login
2022-07-21 19:12:46 +01:00
Freddy Boulton
7b9997861c
Automatic Github release and tag upon pypi upload (#1771)
* Add test

* Workflow dispatch

* Use echo

* Bump version

* re-engineer version name

* Checkout

* Use env syntax

* Revert changes made to test

* Reuse env var
2022-07-13 09:58:11 -04:00
Freddy Boulton
1176180ac3
Run integration tests on all prs (#1712)
* Run integration tests on all prs

* Trigget CI

* Use defaults
2022-07-05 17:43:46 -04:00
Abubakar Abid
5069a8814f
5th try (#1556) 2022-06-13 13:39:18 -07:00
Abubakar Abid
3fc4703745
4th try (#1555) 2022-06-13 13:34:42 -07:00
Abubakar Abid
3a746899c8
trying again (#1554) 2022-06-13 13:25:35 -07:00
Abubakar Abid
b2cd4c1207
pip wheel (#1527) 2022-06-10 01:05:43 -07:00
Abubakar Abid
ae499d3932
rt6 (#1526) 2022-06-10 00:59:06 -07:00
Abubakar Abid
553c2c33ea
Rt5 (#1525)
* version

* version

* pnpm
2022-06-10 00:54:36 -07:00
Abubakar Abid
89b5a1293e
Rt4 (#1524)
* version

* version
2022-06-10 00:50:41 -07:00
Abubakar Abid
48fc596dfb
added (#1521) 2022-06-10 00:36:14 -07:00
Abubakar Abid
32fcb775cb
Deploy to pypi using GitHub actions (#1518)
* Create deploy-pypi.yml

* Update deploy-pypi.yml

* Update deploy-pypi.yml

* Update deploy-pypi.yml

* pypi action

* pypi action
2022-06-10 00:29:29 -07:00
Ömer Faruk Özdemir
8d10c5ab45
Update bug_report_template.yml (#1425) 2022-05-31 11:25:53 +03:00
Ömer Faruk Özdemir
55ddc3c3aa
Update bug_report_template.yml (#1424) 2022-05-31 11:23:13 +03:00
Ömer Faruk Özdemir
5eebaad334
Update bug_report_template.yml (#1423) 2022-05-31 11:16:46 +03:00
Ömer Faruk Özdemir
d117ad0049
remove-sizewatcher (#1400) 2022-05-27 11:06:23 +03:00
Ömer Faruk Özdemir
c03241591e
update-sizewatcher (#1377) 2022-05-25 11:54:51 +03:00
Ömer Faruk Özdemir
499f6013ad
check-for-big-diff (#1375) 2022-05-25 10:28:27 +03:00
Abubakar Abid
a4f262fd6e
Update issue templates (#1345)
* Update bug_report_template.yml

* Update feature_request.md
2022-05-19 18:30:57 -07:00
Abubakar Abid
08bcb9e0e2
Update bug_report_template.yml (#1344) 2022-05-19 18:28:19 -07:00
Ömer Faruk Özdemir
761a218e5e
Update feature_request.md (#1127) 2022-04-29 01:23:32 +03:00
Ömer Faruk Özdemir
c215626959
issue-checkbox (#1122)
- add issue checkbox
2022-04-29 01:22:11 +03:00
pngwn
2b0898b9a2
Scroll to output (#1077)
* implement loader + scroll into view

* changes

* refactor components to use Block inside the app

* cleanup

* cleanup

* implement all changes for all changes for all relevant components

* fix formatting

* demos

* add status tracker to every component

* fix tests

* fix unti test flake: randInt

* cleanup CI

* fix CI

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-26 15:48:39 +01:00
Ömer Faruk Özdemir
dc388d2818
Update PULL_REQUEST_TEMPLATE.md (#1068) 2022-04-22 16:09:11 +03:00
Dawood Khan
499f106c9e
Model3D + Plot Components (#1010)
* add model3D

* model3d component

* add plot component

* format

* ingnore plot.svelte from prettier

* update build script

* update circleci config

* remove circleci config change

* change build script

* remove change to build script

* remove plot.svelte

* remove duplicate save_flagged func

* fix node space issue + format issues

* Update ui.yml

* Update ui.yml

* Update ui.yml

* remove changes to config files

* updated codecov version

* Update ui.yml

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-18 15:26:30 -04:00
pngwn
26d2c190fc
add test infra + add browser tests to CI (#852)
* add test infra

* improve test setup and utils

* finish a test

* add browser tests to ci

* fix ci

* fix ci

* fix ci

* fix ci

* debug ci

* debug ci

* debug ci

* debug ci

* debug ci

* debug ci

* debug ci

* fix ci

* update lockfile

* fix formatting

* install browser when not cached

* bust cache

* debug test in ci

* fix button label

* generate screenshots for failed tests

* generate screenshots for failed tests

* generate screenshots for failed tests

* fix tests

* clean uip debug logs

* add setuip + teardown to functional tests

* remove build from static checks
2022-03-23 15:19:12 +00:00
Ömer Faruk Özdemir
a2b89ab2d2
Merge pull request #718 from gradio-app/Cancel-Tests-With-Updates
Cancel tests with updates
2022-02-23 16:57:21 +03:00
Ömer Faruk Özdemir
2d0b84d811
Merge branch 'master' into Bug-Report-Update 2022-02-23 16:50:54 +03:00
Ömer Faruk Özdemir
88622575ec make screenshot area image pastable 2022-02-23 16:49:11 +03:00
Ömer Faruk Özdemir
190383f55b
Merge pull request #720 from gradio-app/Bug-Report-Update
Convert all areas of bug report to markdown
2022-02-23 16:47:32 +03:00
Ömer Faruk Özdemir
6def1c1c23 convert all areas to markdown 2022-02-23 16:47:04 +03:00
Ömer Faruk Özdemir
792f3ab7bc
Merge pull request #719 from gradio-app/Bug-Report-Update
fix an small error
2022-02-23 16:45:31 +03:00
Abubakar Abid
4ff47d2a6a minor tweaks 2022-02-23 07:57:13 -05:00
Ömer Faruk Özdemir
40da7ff141 fix an small error 2022-02-23 15:44:00 +03:00
Ömer Faruk Özdemir
02b816988a Revert "Update bug_report template with yml"
This reverts commit 4564ba04f2.
2022-02-23 15:34:31 +03:00
Ömer Faruk Özdemir
4564ba04f2 Update bug_report template with yml 2022-02-23 15:33:36 +03:00
Ömer Faruk Özdemir
e24b63ac4a Cancel tests with updates 2022-02-23 15:29:39 +03:00
Ömer Faruk Özdemir
b88c195b3d refactor 2022-02-23 15:19:16 +03:00
Ömer Faruk Özdemir
36d032b3fc Convert bug report to .yml 2022-02-23 15:18:32 +03:00
Ömer Faruk Özdemir
d66755ba21 Convert bug report to .yml 2022-02-23 15:16:59 +03:00
Ömer Faruk Özdemir
ab3a649cf9 bug report template update 2022-02-23 15:01:24 +03:00
Ömer Faruk Özdemir
570b7e5dfe
Add Code Snippet Part to the Bug Report 2022-02-23 14:57:59 +03:00
pngwn
db59544d50
add unit tests (#602)
* add unit tests

* add tests to ci

* fix naming of tests
2022-02-14 15:24:04 +00:00
Abubakar Abid
127cc8e6bf
Update feature_request.md 2022-02-08 18:55:34 -05:00
pngwn
9c7ebc8659
add frontend build to ci as a smoke test (#530)
* add frontend build to ci as a smoke test

* add details about ci and quality checks to readme

* fix readme links

* readme: consistent title casing
2022-02-03 10:54:21 +00:00
pngwn
70981c3732
add ci for ui (#524)
* add ci for frontend

* add ci for frontend

* fix workflow

* fix format errors
2022-02-02 15:49:37 +00:00
Abubakar Abid
5496970577
Update PULL_REQUEST_TEMPLATE.md 2022-01-25 10:32:23 -06:00
Abubakar Abid
3b54b58332
Create PULL_REQUEST_TEMPLATE.md 2022-01-10 10:44:17 -06:00
Abubakar Abid
e725ac90ed Update issue templates 2021-12-16 11:25:15 -06:00
Abubakar Abid
9616892b0c Update issue templates 2021-12-16 11:23:14 -06:00
Abubakar Abid
7cfa536a98 git changes 2021-08-09 10:48:23 -07:00
dawoodkhan82
0e4bfbaa43 stalebot 2020-10-08 08:49:36 -04:00