Spaces:
Runtime error
Runtime error
Commit
·
3a90c65
1
Parent(s):
6f5321f
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ with gr.Blocks(
|
|
33 |
c900="#708090",
|
34 |
c950="#708090",
|
35 |
),
|
36 |
-
secondary_hue=gr.themes.
|
37 |
c50="#576b95",
|
38 |
c100="#576b95",
|
39 |
c200="#576b95",
|
@@ -46,7 +46,7 @@ with gr.Blocks(
|
|
46 |
c900="#576b95",
|
47 |
c950="#576b95",
|
48 |
),
|
49 |
-
neutral_hue=gr.themes.
|
50 |
name="gray",
|
51 |
c50="#f9fafb",
|
52 |
c100="#f3f4f6",
|
@@ -123,9 +123,10 @@ with gr.Blocks(
|
|
123 |
with gr.Column(scale=1):
|
124 |
downloadFile = gr.File(interactive=False)
|
125 |
gr.Markdown("""
|
126 |
-
<div align=center>you can follow the WeChat public account [45度科研人] and leave me a message!
|
127 |
-
<div align=center><img width = '200' height ='200' src ="https://dunazo.oss-cn-beijing.aliyuncs.com/blog/wechat-simple.png"/>
|
128 |
-
</div>
|
|
|
129 |
keyTxt.submit(submit_key, keyTxt, [user_api_key, status_display])
|
130 |
keyTxt.change(submit_key, keyTxt, [user_api_key, status_display])
|
131 |
# Chatbot
|
|
|
33 |
c900="#708090",
|
34 |
c950="#708090",
|
35 |
),
|
36 |
+
secondary_hue=gr.themes.Color(
|
37 |
c50="#576b95",
|
38 |
c100="#576b95",
|
39 |
c200="#576b95",
|
|
|
46 |
c900="#576b95",
|
47 |
c950="#576b95",
|
48 |
),
|
49 |
+
neutral_hue=gr.themes.Color(
|
50 |
name="gray",
|
51 |
c50="#f9fafb",
|
52 |
c100="#f3f4f6",
|
|
|
123 |
with gr.Column(scale=1):
|
124 |
downloadFile = gr.File(interactive=False)
|
125 |
gr.Markdown("""
|
126 |
+
<div align=center>you can follow the WeChat public account [45度科研人] and leave me a message! </div> </b>
|
127 |
+
<div align=center><img width = '200' height ='200' src ="https://dunazo.oss-cn-beijing.aliyuncs.com/blog/wechat-simple.png"/> <img width = '170' height ='190' src ="https://dunazo.oss-cn-beijing.aliyuncs.com/blog/shoukuanma222.png"/>
|
128 |
+
</div>
|
129 |
+
""")
|
130 |
keyTxt.submit(submit_key, keyTxt, [user_api_key, status_display])
|
131 |
keyTxt.change(submit_key, keyTxt, [user_api_key, status_display])
|
132 |
# Chatbot
|