POLRAMBORA commited on
Commit
554e803
·
verified ·
1 Parent(s): 4993b9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -176,11 +176,7 @@ css="""
176
  .chatbox {height: 400px; overflow: auto; border: 1px solid #262626; padding: 10px; background-color: #171717; display: flex; flex-direction: column-reverse;}
177
  """
178
  with gr.Blocks(css=css, js=js) as demo:
179
- gr.HTML("""
180
- <script type="text/javascript" id="MathJax-script" async
181
- src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.2/es5/tex-mml-chtml.js">
182
- </script>
183
- """)
184
 
185
  with gr.Column(visible=True) as auth_view:
186
  gr.Markdown("## P-MSQ Authorization")
@@ -191,7 +187,11 @@ with gr.Blocks(css=css, js=js) as demo:
191
  auth_status = gr.Textbox(label="Authorization Status", interactive=False)
192
 
193
  with gr.Column(visible=False) as chat_view:
194
-
 
 
 
 
195
  gr.Markdown("## P-MSQ Chat Interface")
196
  chatbot_output = gr.HTML(elem_id="chatbox-container")
197
 
 
176
  .chatbox {height: 400px; overflow: auto; border: 1px solid #262626; padding: 10px; background-color: #171717; display: flex; flex-direction: column-reverse;}
177
  """
178
  with gr.Blocks(css=css, js=js) as demo:
179
+
 
 
 
 
180
 
181
  with gr.Column(visible=True) as auth_view:
182
  gr.Markdown("## P-MSQ Authorization")
 
187
  auth_status = gr.Textbox(label="Authorization Status", interactive=False)
188
 
189
  with gr.Column(visible=False) as chat_view:
190
+ gr.HTML("""
191
+ <script type="text/javascript" id="MathJax-script" async
192
+ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.2/es5/tex-mml-chtml.js">
193
+ </script>
194
+ """)
195
  gr.Markdown("## P-MSQ Chat Interface")
196
  chatbot_output = gr.HTML(elem_id="chatbox-container")
197