jer233 commited on
Commit
4bd57a5
·
verified ·
1 Parent(s): 0d99cb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -14
app.py CHANGED
@@ -166,27 +166,27 @@ with gr.Blocks(css=css) as app:
166
  submit_button.click(run_test, inputs=[input_text], outputs=output)
167
  clear_button.click(lambda: ("", ""), inputs=[], outputs=[input_text, output])
168
 
169
- with gr.Accordion("Disclaimer", open=False, elem_classes=["accordion"]):
170
  gr.Markdown(
171
  """
172
- - **Disclaimer**: This tool is for demonstration purposes only. It is not a foolproof AI detector.
173
- - **Accuracy**: Results may vary based on input length and quality.
174
  """
175
  )
176
 
177
- with gr.Accordion("Citations", open=False, elem_classes=["accordion"]):
178
  gr.Markdown(
179
  """
180
- ```
181
- @inproceedings{zhangs2024MMDMP,
182
- title={Detecting Machine-Generated Texts by Multi-Population Aware Optimization for Maximum Mean Discrepancy},
183
- author={Zhang, Shuhai and Song, Yiliao and Yang, Jiahao and Li, Yuanqing and Han, Bo and Tan, Mingkui},
184
- acknowledgement ={Coin Wang and Jerry Ye},
185
- booktitle = {International Conference on Learning Representations (ICLR)},
186
- year={2024}
187
- }
188
- ```
189
- """
190
  )
191
 
192
  app.launch()
 
166
  submit_button.click(run_test, inputs=[input_text], outputs=output)
167
  clear_button.click(lambda: ("", ""), inputs=[], outputs=[input_text, output])
168
 
169
+ with gr.Accordion("Disclaimer", open=True, elem_classes=["accordion"]):
170
  gr.Markdown(
171
  """
172
+ - **Disclaimer**: This tool is for demonstration purposes only. It is not a foolproof AI detector.
173
+ - **Accuracy**: Results may vary based on input length and quality.
174
  """
175
  )
176
 
177
+ with gr.Accordion("Citations", open=True, elem_classes=["accordion"]):
178
  gr.Markdown(
179
  """
180
+ ```
181
+ @inproceedings{zhangs2024MMDMP,
182
+ title={Detecting Machine-Generated Texts by Multi-Population Aware Optimization for Maximum Mean Discrepancy},
183
+ author={Zhang, Shuhai and Song, Yiliao and Yang, Jiahao and Li, Yuanqing and Han, Bo and Tan, Mingkui},
184
+ acknowledgement ={Coin Wang and Jerry Ye},
185
+ booktitle ={International Conference on Learning Representations (ICLR)},
186
+ year={2024}
187
+ }
188
+ ```
189
+ """
190
  )
191
 
192
  app.launch()