Commit Graph

22 Commits

Author SHA1 Message Date
Ali Abdalla
42488c076a
Correct gradio version on website (#5037)
* fix jsons

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-28 21:55:17 +02:00
pngwn
861d752a83
chore: update versions (#4999)
* chore: update versions

* undo diff

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-26 17:10:24 -04:00
Ali Abdalla
71c9039401
Make sure tags aren't rendered inside a guide (#5007)
* remove tags

* small fixes to guides

* add changeset

* add changeset

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-24 22:54:33 +02:00
Ali Abdalla
3e70fc81fc
Correctly render changelog on website after new formatting (#5009)
* fix changelog rendering

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-24 22:44:10 +02:00
Luke Cheng
4b0e98e40a
docs: Initiate the Chinese translation (#4767)
* docs: init for the chs translation

* docs: translate guides to Chinese. (#1)

* 翻译文档

* update ChangeLog

* docs: add spaces with the heyspace tool

* 翻译文档

* docs: add spaces to the follow-up files

---------

Co-authored-by: Luke Cheng <2258420+chenglu@users.noreply.github.com>

* ignore cn dir in website

---------

Co-authored-by: TERRY LEE <59245973+liteli1987gmail@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-07-24 14:10:39 +02:00
Ali Abdalla
1d1dba1851
Fix responsive issues with docs, guides and changelog (#4833)
* fix right nav bar docs

* make guides responsive

* make changelog responsive

* much better side navbar
2023-07-19 03:56:12 +03:00
Ali Abdalla
f5b300fd3e
regenerate jsons (#4952) 2023-07-18 03:08:55 +03:00
Abubakar Abid
5a511f02af
A high-level ChatInterface abstraction (#4869)
* push

* chat interface

* remove video artifact

* changes

* restore

* changes

* more functions

* clean

* chat interface

* chat interface

* Update gradio/chat_interface.py

* nit

* changes

* api fix

* chat interface

* guide

* guide

* changes

* fixes

* Added ChatInterface Examples for Langchain, OpenAI Streaming, and HF's Text Generation Inference (StarChat)

* docstring

* tests

* tests

* tests

* tests

* rename

* guide

* chatbot

* conclusion

* demo notebooks

* clog

* test

* chat interface

* fixes

* functional test

* test

* notebook

* guides

* typing

* docstring

* script

* upgrade pyright

* upgrade pyright

* Update CHANGELOG.md

* revert pyright upgrade

* typing

* redirects

* Update CHANGELOG.md

* guide

* guide

* readme

* screenshot

* add to readme

* quickstart

* readme

* Added transformers open-source LLM example using ChatInterface

* Minor nits to guide

* Minor tweak to test - use connect fixture

* website fixes

* nav

* guide

* fix tests'

* fix

* type

* clear

* chat interface

* fix test

* fix guide

* handle edge case

* edge case

* typing

* fix example caching with streaming

* typing

---------

Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Yuvraj Sharma <48665385+yvrjsharma@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-07-17 13:22:47 -04:00
Ali Abdalla
315d7f4283
Add gr.Group to docs (#4913)
* add group

* exclude js/_website from workflow and add echo pr test

* fix path / remove echo

---------

Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-07-13 17:28:30 +03:00
Freddy Boulton
4bf301324b
Lint website (#4879) 2023-07-11 21:00:52 -04:00
Ali Abdalla
3e9f5407ae
fix path to gradio.svg (#4877) 2023-07-11 13:21:44 +03:00
Ali Abdalla
5d080cdb74
Fix component events matrix in docs (#4863)
* fix events matrix

* regenerate json

* remove ordered_events

* remove hardcoded events

* mistake

* add end to docs
2023-07-10 20:52:14 +03:00
Ali Abdalla
059d77eb98
Fix broken images in guides and website meta tags (#4830)
* testing meta tags

* fix broken images in guides
2023-07-07 20:51:42 +03:00
Ali Abdalla
9363328297
Fix Misleading Description for Duplicate Button (#4832)
* reword docstring for duplicatebutton

* formatting
2023-07-07 20:09:54 +03:00
Ali Abdalla
2883a12c1f
Fix Changelog Navbar in Website (#4828)
* working navbar for changelog

* testing meta tags

* nvm
2023-07-07 19:09:08 +03:00
Ali Abdalla
df804ca281
Fixing redirects in website (#4813)
* testing redirect in vercel

* adding all redirects to vercel config
2023-07-06 22:21:40 +03:00
pngwn
7fa5e766ce
format (#4810) 2023-07-06 18:43:49 +01:00
Ali Abdalla
b091c9165e
Fixes some issues with website migration (#4806)
* use _main embedded components

* fix horizontal scrolling in guide

* update guide headers on nav bar

* testing with redirects

* testing with trailingslash
2023-07-06 18:00:36 +03:00
aliabid94
b8eb481473
Share button (#4651)
* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* restore

* merge

* del image'

* update pnpm lock

* changes

* changes

* changes

* changes

* changes

* Update CHANGELOG.md

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

* changes

* fix

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* chagnes

* changes

* changes

* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-05 19:50:17 -05:00
renovate[bot]
0529dfd43e
chore(deps): update dependency mdsvex to ^0.11.0 (#4782) 2023-07-04 15:19:06 +01:00
renovate[bot]
db700df910
chore(deps): update dependency typescript to v5 (#4783) 2023-07-04 14:56:01 +01:00
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 &lt; 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