dcahn12 commited on
Commit
e07ba8d
ยท
1 Parent(s): 0b08826

Edit LICENSE

Browse files
Files changed (2) hide show
  1. gradio_utils.py +2 -8
  2. gradio_web_server.py +1 -1
gradio_utils.py CHANGED
@@ -36,17 +36,11 @@ block_css = """
36
  }
37
  """
38
 
39
- tos_markdown = ("""
40
- ### Terms of use
41
- By using this service, users are required to agree to the following terms:
42
- 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.
43
- Please click the "Flag" button if you get any inappropriate answer! We will collect those to keep improving our moderator.
44
- For an optimal experience, please use desktop computers for this demo, as mobile devices may compromise its quality.
45
- """)
46
 
47
  learn_more_markdown = ("""
48
  ### License
49
- The service is a research preview intended for non-commercial use only, subject to the model [License](https://github.com/facebookresearch/llama/blob/main/MODEL_CARD.md) of LLaMA, [Terms of Use](https://openai.com/policies/terms-of-use) of the data generated by OpenAI, and [Privacy Practices](https://chrome.google.com/webstore/detail/sharegpt-share-your-chatg/daiacboceoaocpibfodeljbdfacokfjb) of ShareGPT. Please contact us if you find any potential violation.
50
  """)
51
 
52
 
 
36
  }
37
  """
38
 
39
+ tos_markdown = ("""""")
 
 
 
 
 
 
40
 
41
  learn_more_markdown = ("""
42
  ### License
43
+ The service is a research preview intended for non-commercial use only, subject to the model [License](https://github.com/facebookresearch/llama/blob/main/MODEL_CARD.md) of LLaMA.
44
  """)
45
 
46
 
gradio_web_server.py CHANGED
@@ -178,7 +178,7 @@ with gr.Blocks(title='VLM-RLAIF', theme=gr.themes.Default(), css=block_css) as d
178
  flag_btn = gr.Button(value="โš ๏ธ Flag", interactive=True)
179
  regenerate_btn = gr.Button(value="๐Ÿ”„ Regenerate", interactive=True)
180
 
181
- gr.Markdown(tos_markdown)
182
  gr.Markdown(learn_more_markdown)
183
 
184
  submit_btn.click(generate, [video, textbox, first_run, state, state_, images_tensor],
 
178
  flag_btn = gr.Button(value="โš ๏ธ Flag", interactive=True)
179
  regenerate_btn = gr.Button(value="๐Ÿ”„ Regenerate", interactive=True)
180
 
181
+ # gr.Markdown(tos_markdown)
182
  gr.Markdown(learn_more_markdown)
183
 
184
  submit_btn.click(generate, [video, textbox, first_run, state, state_, images_tensor],