mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-27 02:30:17 +08:00
5a511f02af
* 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> |
||
---|---|---|
.. | ||
generate_jsons | ||
src | ||
static | ||
.gitignore | ||
.npmrc | ||
package.json | ||
postcss.config.cjs | ||
README.md | ||
svelte.config.js | ||
tailwind.config.cjs | ||
tsconfig.json | ||
vercel.json | ||
vite.config.ts |
create-svelte
Everything you need to build a Svelte project, powered by create-svelte
.
Creating a project
If you're seeing this, you've probably already done this step. Congrats!
# create a new project in the current directory
npm create svelte@latest
# create a new project in my-app
npm create svelte@latest my-app
Developing
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.