updated PyPi version

This commit is contained in:
Ali Abid 2021-08-11 18:26:27 +00:00
parent 65236c44d7
commit ed0095367f
9 changed files with 48 additions and 26 deletions

View File

@ -232,13 +232,7 @@ export class GradioInterface extends React.Component {
}
return (
<div className="gradio_interface" theme={this.props.theme}>
<div
className={classNames("panels", {
"items-start": this.props.layout === "unaligned",
"items-stretch": this.props.layout !== "unaligned",
"flex-col": this.props.layout === "vertical"
})}
>
<div className={classNames("panels", this.props.layout)}>
<div
className={classNames("panel", {
flex: this.props.layout === "horizontal",

View File

@ -16,6 +16,15 @@ html {
.panels {
@apply flex flex-wrap justify-center gap-4;
}
.panels.unaligned {
@apply flex-col sm:flex-row items-stretch sm:items-start
}
.panels.horizontal {
@apply flex-col sm:flex-row items-stretch;
}
.panels.vertical {
@apply flex-col items-stretch;
}
.panel {
@apply flex-1;
}

View File

@ -53,6 +53,15 @@
.panels {
@apply flex flex-wrap justify-center gap-4;
}
.panels.unaligned {
@apply flex-col sm:flex-row items-stretch sm:items-start
}
.panels.horizontal {
@apply flex-col sm:flex-row items-stretch;
}
.panels.vertical {
@apply flex-col items-stretch;
}
.panel {
@apply flex-1;
}

View File

@ -12,6 +12,15 @@
.panels {
@apply flex flex-wrap justify-center gap-4;
}
.panels.unaligned {
@apply flex-col sm:flex-row items-stretch sm:items-start
}
.panels.horizontal {
@apply flex-col sm:flex-row items-stretch;
}
.panels.vertical {
@apply flex-col items-stretch;
}
.panel {
@apply flex-1;
}

View File

@ -34,6 +34,7 @@ gradio/frontend/static/bundle.js.LICENSE.txt
gradio/frontend/static/bundle.js.map
gradio/frontend/static/css/main.1c7a53e3.css
gradio/frontend/static/css/main.1c7a53e3.css.map
gradio/frontend/static/css/main.22c25130.css
gradio/frontend/static/css/main.2ed025e4.css
gradio/frontend/static/css/main.2ed025e4.css.map
gradio/frontend/static/css/main.b74df5ce.css

View File

@ -1,6 +1,6 @@
{
"files": {
"main.css": "/static/css/main.cb3c60d6.css",
"main.css": "/static/css/main.22c25130.css",
"main.js": "/static/bundle.js",
"index.html": "/index.html",
"static/bundle.js.LICENSE.txt": "/static/bundle.js.LICENSE.txt",
@ -9,7 +9,7 @@
},
"entrypoints": [
"static/bundle.css",
"static/css/main.cb3c60d6.css",
"static/css/main.22c25130.css",
"static/bundle.js"
]
}

View File

@ -8,4 +8,4 @@
window.config = {{ config|tojson }};
} catch (e) {
window.config = {};
}</script><script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script><title>Gradio</title><link href="static/bundle.css" rel="stylesheet"><link href="static/css/main.cb3c60d6.css" rel="stylesheet"></head><body style="height:100%"><div id="root" style="height:100%"></div><script src="static/bundle.js"></script></body></html>
}</script><script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script><title>Gradio</title><link href="static/bundle.css" rel="stylesheet"><link href="static/css/main.22c25130.css" rel="stylesheet"></head><body style="height:100%"><div id="root" style="height:100%"></div><script src="static/bundle.js"></script></body></html>

View File

@ -1 +1 @@
2.2.9a
2.2.9.a2

View File

@ -5,7 +5,7 @@ except ImportError:
setup(
name='gradio',
version='2.2.9a',
version='2.2.9.a2',
include_package_data=True,
description='Python library for easily interacting with trained machine learning models',
author='Abubakar Abid',