Commit Graph

77 Commits

Author SHA1 Message Date
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