Update app.py
#1
by himanshu17HF - opened
app.py
CHANGED
|
@@ -330,7 +330,7 @@ with gr.Blocks(fill_width=True, title="Demo Chat") as demo:
|
|
| 330 |
|
| 331 |
with gr.Column(elem_id="chat-column"):
|
| 332 |
|
| 333 |
-
# Landing page shown when chat is empty
|
| 334 |
landing_page = gr.HTML(
|
| 335 |
value="""
|
| 336 |
<div id="landing-page">
|
|
@@ -340,7 +340,7 @@ with gr.Blocks(fill_width=True, title="Demo Chat") as demo:
|
|
| 340 |
</div>
|
| 341 |
</div>
|
| 342 |
<div class="landing-prompt">
|
| 343 |
-
<p>Made with ❤️ by KingNish and Himanshu</p>
|
| 344 |
</div>
|
| 345 |
</div>
|
| 346 |
""",
|
|
@@ -444,4 +444,4 @@ with gr.Blocks(fill_width=True, title="Demo Chat") as demo:
|
|
| 444 |
theme = gr.themes.Base(radius_size="none")
|
| 445 |
|
| 446 |
if __name__ == "__main__":
|
| 447 |
-
demo.queue(default_concurrency_limit=100, max_size=100).launch(ssr_mode=False, max_threads=100, css_paths="app.css", theme=theme)
|
|
|
|
| 330 |
|
| 331 |
with gr.Column(elem_id="chat-column"):
|
| 332 |
|
| 333 |
+
# Landing page shown when chat is empty with added hyperlinks
|
| 334 |
landing_page = gr.HTML(
|
| 335 |
value="""
|
| 336 |
<div id="landing-page">
|
|
|
|
| 340 |
</div>
|
| 341 |
</div>
|
| 342 |
<div class="landing-prompt">
|
| 343 |
+
<p>Made with ❤️ by <a href="http://huggingface.co/KingNish" target="_blank" style="color: var(--primary-500, #ff4b4b); text-decoration: underline;">KingNish</a> and <a href="https://huggingface.co/himanshu17HF" target="_blank" style="color: var(--primary-500, #ff4b4b); text-decoration: underline;">Himanshu</a></p>
|
| 344 |
</div>
|
| 345 |
</div>
|
| 346 |
""",
|
|
|
|
| 444 |
theme = gr.themes.Base(radius_size="none")
|
| 445 |
|
| 446 |
if __name__ == "__main__":
|
| 447 |
+
demo.queue(default_concurrency_limit=100, max_size=100).launch(ssr_mode=False, max_threads=100, css_paths="app.css", theme=theme)
|