Update ui/app.py
Browse files
ui/app.py
CHANGED
@@ -17,9 +17,11 @@ CSS = """
|
|
17 |
|
18 |
with gr.Blocks(css=CSS) as app:
|
19 |
with gr.Column() as setup_pane:
|
20 |
-
gr.Markdown(f"""#
|
|
|
21 |
1. Duplicate this Space: <a href="https://huggingface.co/spaces/{os.getenv('SPACE_ID')}?duplicate=true"><img style="display: inline; margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a> This will **NOT** work without duplication!
|
22 |
2. Enter your <a href="https://platform.openai.com/account/api-keys">OpenAI API Key</a> below.
|
|
|
23 |
""")
|
24 |
with gr.Row():
|
25 |
open_ai_key = gr.Textbox(
|
@@ -142,4 +144,17 @@ with gr.Blocks(css=CSS) as app:
|
|
142 |
|
143 |
download_btn.click(download_all_files).then(None, _js=utils.DOWNLOAD_OUTPUTS_JS)
|
144 |
|
145 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
with gr.Blocks(css=CSS) as app:
|
19 |
with gr.Column() as setup_pane:
|
20 |
+
gr.Markdown(f""" # <center>🥳💬💕 - TalktoAI,随时随地,谈天说地!</center>
|
21 |
+
### <center>🤖 - 让有人文关怀的AI造福每一个人!AI向善,文明璀璨!TalktoAI - Enable the future!</center>
|
22 |
1. Duplicate this Space: <a href="https://huggingface.co/spaces/{os.getenv('SPACE_ID')}?duplicate=true"><img style="display: inline; margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a> This will **NOT** work without duplication!
|
23 |
2. Enter your <a href="https://platform.openai.com/account/api-keys">OpenAI API Key</a> below.
|
24 |
+
3. Powered by [Auto-GPT](https://github.com/Significant-Gravitas/Auto-GPT). Thanks to [SigGravitas](https://github.com/Significant-Gravitas) and [Ali Abid](https://huggingface.co/aliabid94).
|
25 |
""")
|
26 |
with gr.Row():
|
27 |
open_ai_key = gr.Textbox(
|
|
|
144 |
|
145 |
download_btn.click(download_all_files).then(None, _js=utils.DOWNLOAD_OUTPUTS_JS)
|
146 |
|
147 |
+
gr.Markdown(
|
148 |
+
""" ### <center>注意❗:请不要输入或生成会对个人以及组织造成侵害的内容,此程序仅供科研、学习使用。用户输入或生成的内容与程序开发者无关,请自觉合法合规使用,违反者一切后果自负。</center>
|
149 |
+
|
150 |
+
"""
|
151 |
+
)
|
152 |
+
|
153 |
+
gr.HTML('''
|
154 |
+
<div class="footer">
|
155 |
+
<p>🎶🖼️🎡 - It’s the intersection of technology and liberal arts that makes our hearts sing. - Steve Jobs
|
156 |
+
</p>
|
157 |
+
</div>
|
158 |
+
''')
|
159 |
+
|
160 |
+
app.queue(concurrency_count=20).launch(file_directories=[OUTPUT_DIR], show_error=True)
|