gregH commited on
Commit
e60ab50
·
1 Parent(s): 37972ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -50,14 +50,15 @@ with gr.Interface(fn=detect, inputs=image, outputs=label, title=title, descripti
50
  gr.Examples(Human_texts, inputs=image, outputs=label)
51
  with gr.Tab("Examples of incorrect detections"):
52
  gr.Examples(Constitution_inputs, inputs=image, outputs=label)
53
- citation = r"If you use this detector, please cite the following paper: ```bash@misc{hu2023radar, \n" \
54
- r" title={RADAR: Robust AI-Text Detection via Adversarial Learning}, \n" \
55
- r" author={Xiaomeng Hu and Pin-Yu Chen and Tsung-Yi Ho}, \n" \
56
- r" year={2023}, \n" \
57
- r" eprint={2307.03838}, \n" \
58
- r" archivePrefix={arXiv}, \n" \
59
- r" primaryClass={cs.CL} \n" \
60
- r" }```"
 
61
  gr.Markdown(citation)
62
 
63
  intf.launch(inline=False)
 
50
  gr.Examples(Human_texts, inputs=image, outputs=label)
51
  with gr.Tab("Examples of incorrect detections"):
52
  gr.Examples(Constitution_inputs, inputs=image, outputs=label)
53
+ citation = r"If you use this detector, please cite the following paper: "+"\n"+
54
+ "```bash"+"\n"+"@misc{hu2023radar,"+"\n"+
55
+ r" title={RADAR: Robust AI-Text Detection via Adversarial Learning},"+"\n" +
56
+ r" author={Xiaomeng Hu and Pin-Yu Chen and Tsung-Yi Ho},"+"\n" +
57
+ r" year={2023},"+"\n" +
58
+ r" eprint={2307.03838},"+"\n" +
59
+ r" archivePrefix={arXiv},"+"\n" +
60
+ r" primaryClass={cs.CL}"+"\n" +
61
+ "}```"
62
  gr.Markdown(citation)
63
 
64
  intf.launch(inline=False)