Spaces:
Paused
Paused
dcahn12
commited on
Commit
ยท
e07ba8d
1
Parent(s):
0b08826
Edit LICENSE
Browse files- gradio_utils.py +2 -8
- 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
|
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],
|