willam9725712 commited on
Commit
d754725
·
1 Parent(s): e5305dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -5
app.py CHANGED
@@ -174,11 +174,16 @@ def predict(input,
174
  if __name__ == "__main__":
175
  block = gr.Blocks()
176
  with block as demo:
177
- gr.Markdown("""<h1><center>eiya GPT大型语言模型</center></h1>
178
- <center><font size=3>
179
- Meiya GPT大型语言模型系列模型, 提供基于本地知识的自动问答应用,支持上传 txt、docx、md等文本格式文件,作为本地知识库 <br>
180
- </center></font>
181
- """)
 
 
 
 
 
182
  with gr.Row():
183
  with gr.Column(scale=1):
184
  model_choose = gr.Accordion("模型选择")
 
174
  if __name__ == "__main__":
175
  block = gr.Blocks()
176
  with block as demo:
177
+
178
+
179
+
180
+ gr.Markdown("<script language='javascript'>document.body.classList.toggle('dark');</script><div align='center' style='display: flex;flex-direction: row;'> \
181
+ <div style='width:40%; flex: 1;padding: 10px;text-align: -webkit-right;'><img style='height:35px' src='https://300188.cn/templates/dist/img/l3.png'></div> \
182
+ <div style='width:50%; margin-left: 10px; text-align: left;'><h2> Meiya GPT大型语言模型 </span> </h2> \
183
+ <center> \
184
+ <font size=3> Meiya GPT大型语言模型系列模型, 提供基于本地知识的自动问答应用,支持上传 txt、docx、md等文本格式文件,作为本地知识库 <br> \
185
+ </center></font></div>
186
+ ")
187
  with gr.Row():
188
  with gr.Column(scale=1):
189
  model_choose = gr.Accordion("模型选择")