myhloli commited on
Commit
2dbedf0
β€’
1 Parent(s): 9dbd627

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -164,8 +164,13 @@ model_init = init_model()
164
  logger.info(f"model_init: {model_init}")
165
 
166
 
 
 
 
 
167
  if __name__ == "__main__":
168
  with gr.Blocks() as demo:
 
169
  with gr.Row():
170
  with gr.Column(variant='panel', scale=5):
171
  # file = gr.File(label="Please upload pdf", file_types=[".pdf"])
 
164
  logger.info(f"model_init: {model_init}")
165
 
166
 
167
+ with open("header.html", "r") as file:
168
+ header = file.read()
169
+
170
+
171
  if __name__ == "__main__":
172
  with gr.Blocks() as demo:
173
+ gr.HTML(header)
174
  with gr.Row():
175
  with gr.Column(variant='panel', scale=5):
176
  # file = gr.File(label="Please upload pdf", file_types=[".pdf"])