ClownRat commited on
Commit
9c93acd
β€’
1 Parent(s): b04e74b

temporally shut flag button.

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -42,13 +42,13 @@ block_css = """
42
  """
43
 
44
 
45
- tos_markdown = ("""
46
- ### Terms of use
47
- By using this service, users are required to agree to the following terms:
48
- The service is a research preview intended for non-commercial use only. It only provides limited safety measures and may generate offensive content. It must not be used for any illegal, harmful, violent, racist, or sexual purposes. The service may collect user dialogue data for future research.
49
- Please click the "Flag" button if you get any inappropriate answer! We will collect those to keep improving our moderator.
50
- For an optimal experience, please use desktop computers for this demo, as mobile devices may compromise its quality.
51
- """)
52
 
53
 
54
  learn_more_markdown = ("""
@@ -328,7 +328,7 @@ with gr.Blocks(title='VideoLLaMA 2 πŸ”₯πŸš€πŸ”₯', theme=gr.themes.Default(primar
328
  inputs=[video, textbox],
329
  )
330
 
331
- gr.Markdown(tos_markdown)
332
  gr.Markdown(learn_more_markdown)
333
 
334
  submit_btn.click(
 
42
  """
43
 
44
 
45
+ # tos_markdown = ("""
46
+ # ### Terms of use
47
+ # By using this service, users are required to agree to the following terms:
48
+ # The service is a research preview intended for non-commercial use only. It only provides limited safety measures and may generate offensive content. It must not be used for any illegal, harmful, violent, racist, or sexual purposes. The service may collect user dialogue data for future research.
49
+ # Please click the "Flag" button if you get any inappropriate answer! We will collect those to keep improving our moderator.
50
+ # For an optimal experience, please use desktop computers for this demo, as mobile devices may compromise its quality.
51
+ # """)
52
 
53
 
54
  learn_more_markdown = ("""
 
328
  inputs=[video, textbox],
329
  )
330
 
331
+ # gr.Markdown(tos_markdown)
332
  gr.Markdown(learn_more_markdown)
333
 
334
  submit_btn.click(