Spaces:
Sleeping
Sleeping
update app.py
Browse files
app.py
CHANGED
@@ -80,21 +80,23 @@ def predict(history_planner, history_searcher):
|
|
80 |
return history_planner, history_searcher
|
81 |
|
82 |
with gr.Blocks(css="""
|
83 |
-
.
|
84 |
-
.
|
85 |
-
.
|
86 |
-
.
|
87 |
-
.
|
|
|
|
|
88 |
""") as demo:
|
89 |
-
gr.HTML("""<h1 class="centered-text">MindSearch Gradio Demo</h1>""")
|
90 |
-
gr.HTML("""<p class="centered-text">MindSearch is an open-source AI Search Engine Framework with Perplexity.ai Pro performance. Deploy your own search engine with either closed-source or open-source LLMs.</p>""")
|
91 |
|
92 |
gr.HTML("""
|
93 |
-
<div class="
|
94 |
-
<a href="https://github.com/InternLM/MindSearch"
|
95 |
-
<a href="https://arxiv.org/abs/2407.20183"
|
96 |
-
<a href="https://huggingface.co/papers/2407.20183"
|
97 |
-
<a href="https://huggingface.co/spaces/internlm/MindSearch"
|
98 |
</div>
|
99 |
""")
|
100 |
|
|
|
80 |
return history_planner, history_searcher
|
81 |
|
82 |
with gr.Blocks(css="""
|
83 |
+
.centered-text {text-align: center; font-family: Arial, sans-serif; color: #333; margin-bottom: 10px;}
|
84 |
+
.link-container {text-align: center; margin-bottom: 15px;}
|
85 |
+
.link-container a {text-decoration: none; color: #4A90E2; margin: 0 10px; font-size: 15px;}
|
86 |
+
.link-container a:hover {color: #357ABD;}
|
87 |
+
.styled-button {background-color: #357ABD; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-size: 16px; margin: 5px;}
|
88 |
+
.styled-button:hover {background-color: #285280;}
|
89 |
+
.input-textbox {border-radius: 5px; border: 1px solid #ccc; padding: 10px; width: 100%;}
|
90 |
""") as demo:
|
91 |
+
gr.HTML("""<h1 class="centered-text" style="margin-bottom: 5px;">MindSearch Gradio Demo</h1>""")
|
92 |
+
gr.HTML("""<p class="centered-text" style="margin-top: 0;">MindSearch is an open-source AI Search Engine Framework with Perplexity.ai Pro performance. Deploy your own search engine with either closed-source or open-source LLMs.</p>""")
|
93 |
|
94 |
gr.HTML("""
|
95 |
+
<div class="link-container">
|
96 |
+
<a href="https://github.com/InternLM/MindSearch">π GitHub</a>
|
97 |
+
<a href="https://arxiv.org/abs/2407.20183">π Arxiv</a>
|
98 |
+
<a href="https://huggingface.co/papers/2407.20183">π Hugging Face Papers</a>
|
99 |
+
<a href="https://huggingface.co/spaces/internlm/MindSearch">π€ Hugging Face Demo</a>
|
100 |
</div>
|
101 |
""")
|
102 |
|