orrinin commited on
Commit
1f285b3
·
verified ·
1 Parent(s): 4b6695b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -159,13 +159,17 @@ def infer(message:str, history: list):
159
 
160
 
161
 
 
 
 
 
 
162
 
163
 
164
 
 
165
 
166
- chatbot = gr.Chatbot(placeholder="请先输入网址或上传文档<br>然后进行对话")
167
-
168
- with gr.Blocks(theme="soft", fill_height="true") as demo:
169
  gr.ChatInterface(
170
  fn = infer,
171
  title = "RAG demo",
 
159
 
160
 
161
 
162
+ css="""
163
+ footer {
164
+ display:none !important
165
+ }
166
+ """
167
 
168
 
169
 
170
+ chatbot = gr.Chatbot(placeholder="请先输入网址或上传文档<br>然后进行对话", height=960)
171
 
172
+ with gr.Blocks(theme="soft", css=css, fill_height="true") as demo:
 
 
173
  gr.ChatInterface(
174
  fn = infer,
175
  title = "RAG demo",