diff --git a/frontend/public/index.html b/frontend/public/index.html index d43b2b972f..5b60af6df9 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -7,7 +7,7 @@ - + {{ config['title'] or 'Gradio' }} diff --git a/frontend/rollup.config.js b/frontend/rollup.config.js index ba74db3675..98d7896980 100644 --- a/frontend/rollup.config.js +++ b/frontend/rollup.config.js @@ -52,6 +52,7 @@ export default { copy({ targets: [ { src: 'public/*', dest: '../gradio/templates/frontend' }, + { src: 'public/global.css', dest: '../gradio/templates/frontend/build' }, { src: 'public/static', dest: '../gradio/templates/frontend' } ] }), diff --git a/frontend/src/components/input/Image/Component.svelte b/frontend/src/components/input/Image/Component.svelte index 4b1ed62e2a..4f797c2b40 100644 --- a/frontend/src/components/input/Image/Component.svelte +++ b/frontend/src/components/input/Image/Component.svelte @@ -29,6 +29,7 @@ sketch.undo()} on:clear={() => sketch.clear()} + {static_src} /> import { createEventDispatcher } from "svelte"; + export let static_src; + const dispatch = createEventDispatcher(); @@ -9,12 +11,12 @@ class="bg-opacity-30 hover:bg-opacity-100 transition p-1.5 bg-yellow-500 dark:bg-red-600 rounded shadow w-8 h-8" on:click={() => dispatch("undo")} > - undo sketch + undo sketch diff --git a/gradio.egg-info/PKG-INFO b/gradio.egg-info/PKG-INFO index 767c2f7277..6fbaf09d0e 100644 --- a/gradio.egg-info/PKG-INFO +++ b/gradio.egg-info/PKG-INFO @@ -1,12 +1,14 @@ -Metadata-Version: 1.0 +Metadata-Version: 2.1 Name: gradio -Version: 2.8.0b0 +Version: 2.8.0b3 Summary: Python library for easily interacting with trained machine learning models Home-page: https://github.com/gradio-app/gradio-UI Author: Abubakar Abid, Ali Abid, Ali Abdalla, Dawood Khan, Ahsen Khaliq Author-email: team@gradio.app License: Apache License 2.0 -Description: UNKNOWN Keywords: machine learning,visualization,reproducibility Platform: UNKNOWN License-File: LICENSE + +UNKNOWN + diff --git a/gradio.egg-info/requires.txt b/gradio.egg-info/requires.txt index 0ecd93dcfe..2b109b268b 100644 --- a/gradio.egg-info/requires.txt +++ b/gradio.egg-info/requires.txt @@ -1,5 +1,5 @@ -aiohttp analytics-python +aiohttp fastapi ffmpy markdown-it-py[linkify,plugins] @@ -9,7 +9,7 @@ pandas paramiko pillow pycryptodome -pydub python-multipart +pydub requests uvicorn diff --git a/gradio/interface.py b/gradio/interface.py index 01a925e292..61e98c8fd1 100644 --- a/gradio/interface.py +++ b/gradio/interface.py @@ -645,8 +645,8 @@ class Interface: server_name (str): to make app accessible on local network, set this to "0.0.0.0". Can be set by environment variable GRADIO_SERVER_NAME. show_tips (bool): if True, will occasionally show tips about new Gradio features enable_queue (bool): if True, inference requests will be served through a queue instead of with parallel threads. Required for longer inference times (> 1min) to prevent timeout. - width (int): The width in pixels of the