Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
LAE
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
文靖昊
LAE
Commits
a063093a
Commit
a063093a
authored
Jun 04, 2024
by
陈正乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加gradio源码更改细节
parent
c85df638
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
174 additions
and
0 deletions
+174
-0
index.html
gradio_file/index.html
+87
-0
share.html
gradio_file/share.html
+87
-0
No files found.
gradio_file/index.html
0 → 100644
View file @
a063093a
<!doctype html>
<html
lang=
"en"
style=
"
margin: 0;
padding: 0;
min-height: 100%;
display: flex;
flex-direction: column;
"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta
property=
"og:url"
content=
"https://gradio.app/"
/>
<meta
property=
"og:type"
content=
"website"
/>
<meta
property=
"og:image"
content=
"{{ config['thumbnail'] or '' }}"
/>
<meta
property=
"og:title"
content=
"{{ config['title'] or '' }}"
/>
<meta
property=
"og:description"
content=
"{{ config['simple_description'] or '' }}"
/>
<meta
name=
"twitter:card"
content=
"summary_large_image"
/>
<meta
name=
"twitter:creator"
content=
"@teamGradio"
/>
<meta
name=
"twitter:title"
content=
"{{ config['title'] or '' }}"
/>
<meta
name=
"twitter:description"
content=
"{{ config['simple_description'] or '' }}"
/>
<meta
name=
"twitter:image"
content=
"{{ config['thumbnail'] or '' }}"
/>
<script>
window
.
__gradio_mode__
=
"app"
;
window
.
iFrameResizer
=
{
heightCalculationMethod
:
"taggedElement"
};
</script>
<script>
window
.
gradio_config
=
{{
config
|
toorjson
}};
</script>
<link
rel=
"preconnect"
href=
"https://fonts.googleapis.com"
/>
<link
rel=
"preconnect"
href=
"https://fonts.gstatic.com"
crossorigin=
"anonymous"
/>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.7/iframeResizer.contentWindow.min.js"
async
></script>
<script
type=
"module"
crossorigin
src=
"./assets/index-8ace7e92.js"
></script>
</head>
<body
style=
"
width: 100%;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
flex-grow: 1;
"
>
<gradio-app
control_page_title=
"true"
embed=
"false"
eager=
"true"
style=
"display: flex; flex-direction: column; flex-grow: 1"
>
</gradio-app>
<script>
const
ce
=
document
.
getElementsByTagName
(
"gradio-app"
);
if
(
ce
[
0
])
{
ce
[
0
].
addEventListener
(
"domchange"
,
()
=>
{
document
.
body
.
style
.
padding
=
"0"
;
});
document
.
body
.
style
.
padding
=
"0"
;
}
</script>
</body>
</html>
gradio_file/share.html
0 → 100644
View file @
a063093a
<!doctype html>
<html
lang=
"en"
style=
"
margin: 0;
padding: 0;
min-height: 100%;
display: flex;
flex-direction: column;
"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta
property=
"og:url"
content=
"https://gradio.app/"
/>
<meta
property=
"og:type"
content=
"website"
/>
<meta
property=
"og:image"
content=
"{{ config['thumbnail'] or '' }}"
/>
<meta
property=
"og:title"
content=
"{{ config['title'] or '' }}"
/>
<meta
property=
"og:description"
content=
"{{ config['simple_description'] or '' }}"
/>
<meta
name=
"twitter:card"
content=
"summary_large_image"
/>
<meta
name=
"twitter:creator"
content=
"@teamGradio"
/>
<meta
name=
"twitter:title"
content=
"{{ config['title'] or '' }}"
/>
<meta
name=
"twitter:description"
content=
"{{ config['simple_description'] or '' }}"
/>
<meta
name=
"twitter:image"
content=
"{{ config['thumbnail'] or '' }}"
/>
<script>
window
.
__gradio_mode__
=
"app"
;
window
.
iFrameResizer
=
{
heightCalculationMethod
:
"taggedElement"
};
</script>
<script>
window
.
gradio_config
=
{{
config
|
toorjson
}};
</script>
<link
rel=
"preconnect"
href=
"https://fonts.googleapis.com"
/>
<link
rel=
"preconnect"
href=
"https://fonts.gstatic.com"
crossorigin=
"anonymous"
/>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.7/iframeResizer.contentWindow.min.js"
async
></script>
<script
type=
"module"
crossorigin
src=
"https://gradio.s3-us-west-2.amazonaws.com/3.48.0/assets/index-d95a347f.js"
></script>
</head>
<body
style=
"
width: 100%;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
flex-grow: 1;
"
>
<gradio-app
control_page_title=
"true"
embed=
"false"
eager=
"true"
style=
"display: flex; flex-direction: column; flex-grow: 1"
>
</gradio-app>
<script>
const
ce
=
document
.
getElementsByTagName
(
"gradio-app"
);
if
(
ce
[
0
])
{
ce
[
0
].
addEventListener
(
"domchange"
,
()
=>
{
document
.
body
.
style
.
padding
=
"0"
;
});
document
.
body
.
style
.
padding
=
"0"
;
}
</script>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment