Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ HTML="""
|
|
23 |
}
|
24 |
|
25 |
.text {
|
26 |
-
font-size:
|
27 |
padding-top: 15%;
|
28 |
padding-left: 20%;
|
29 |
padding-bottom: 5%;
|
@@ -36,15 +36,15 @@ HTML="""
|
|
36 |
<img src="https://huggingface.co/spaces/Diangle/Clip4Clip-webvid/resolve/main/Searchium.png" width="333" height="216">
|
37 |
</div>
|
38 |
<div class="text">
|
39 |
-
<h1 style="font-size:
|
40 |
</div>
|
41 |
</div>
|
42 |
</body>
|
43 |
</html>
|
44 |
"""
|
45 |
|
46 |
-
DESCRIPTION="""Welcome to our video retrieval demo powered by [Diangle/clip4clip-webvid](https://huggingface.co/Diangle/clip4clip-webvid)!
|
47 |
-
Using a simple sentence you will find the top 5 most relevant videos among a dataset of 1.5 million videos.
|
48 |
Discover, explore, and enjoy the world of videos at your fingertips.
|
49 |
"""
|
50 |
ENDING = """For search acceleration capabilities, please refer to [Searchium.ai](https://www.searchium.ai)
|
@@ -137,7 +137,7 @@ def search(search_sentence):
|
|
137 |
return AUTOPLAY_VIDEOS
|
138 |
|
139 |
|
140 |
-
with gr.Blocks() as demo:
|
141 |
gr.HTML(HTML)
|
142 |
gr.Markdown(DESCRIPTION)
|
143 |
with gr.Row():
|
|
|
23 |
}
|
24 |
|
25 |
.text {
|
26 |
+
font-size: 32px;
|
27 |
padding-top: 15%;
|
28 |
padding-left: 20%;
|
29 |
padding-bottom: 5%;
|
|
|
36 |
<img src="https://huggingface.co/spaces/Diangle/Clip4Clip-webvid/resolve/main/Searchium.png" width="333" height="216">
|
37 |
</div>
|
38 |
<div class="text">
|
39 |
+
<h1 style="font-size: 32px;"> Large Scale Video Search </h1>
|
40 |
</div>
|
41 |
</div>
|
42 |
</body>
|
43 |
</html>
|
44 |
"""
|
45 |
|
46 |
+
DESCRIPTION="""Welcome to our video retrieval demo powered by [Diangle/clip4clip-webvid](https://huggingface.co/Diangle/clip4clip-webvid)! <br>
|
47 |
+
Using a simple sentence you will find the top 5 most relevant videos among a dataset of 1.5 million videos. <br>
|
48 |
Discover, explore, and enjoy the world of videos at your fingertips.
|
49 |
"""
|
50 |
ENDING = """For search acceleration capabilities, please refer to [Searchium.ai](https://www.searchium.ai)
|
|
|
137 |
return AUTOPLAY_VIDEOS
|
138 |
|
139 |
|
140 |
+
with gr.Blocks(theme=gr.themes.Default(text_size='text_md')) as demo:
|
141 |
gr.HTML(HTML)
|
142 |
gr.Markdown(DESCRIPTION)
|
143 |
with gr.Row():
|