linxinhua commited on
Commit
a94de79
·
verified ·
1 Parent(s): 28b27f1

Update app.py via admin tool

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -517,7 +517,7 @@ def main():
517
  # Only Query Check functionality for students
518
  with gr.Row():
519
  with gr.Column(scale=4):
520
- chatbot = gr.Chatbot(label="Ask Your Questions", height=500, type="messages", render_markdown=True, latex_delimiters=[
521
  { "left": "$$", "right": "$$", "display": True },
522
  { "left": "\(", "right": "\)", "display": False },
523
  { "left": "$", "right": "$", "display": False },
@@ -534,7 +534,7 @@ def main():
534
  # Comment section
535
  with gr.Row():
536
  comment_input = gr.Textbox(placeholder="Share your comments or suggestions...", label="Comments", lines=2)
537
- submit_comment_btn = gr.Button("Submit Comment", variant="outline")
538
 
539
  with gr.Column(scale=1):
540
  search_info = gr.Markdown(label="Search Analysis Information", value="")
 
517
  # Only Query Check functionality for students
518
  with gr.Row():
519
  with gr.Column(scale=4):
520
+ chatbot = gr.Chatbot(label="Ask Your Questions", height=500, resizable = True, type="messages", render_markdown=True, latex_delimiters=[
521
  { "left": "$$", "right": "$$", "display": True },
522
  { "left": "\(", "right": "\)", "display": False },
523
  { "left": "$", "right": "$", "display": False },
 
534
  # Comment section
535
  with gr.Row():
536
  comment_input = gr.Textbox(placeholder="Share your comments or suggestions...", label="Comments", lines=2)
537
+ submit_comment_btn = gr.Button("Submit Comment", variant="primary")
538
 
539
  with gr.Column(scale=1):
540
  search_info = gr.Markdown(label="Search Analysis Information", value="")