Update app.py
Browse files
app.py
CHANGED
@@ -50,14 +50,14 @@ 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= "If you use this detector, please cite the following paper:
|
54 |
title={RADAR: Robust AI-Text Detection via Adversarial Learning},
|
55 |
author={Xiaomeng Hu and Pin-Yu Chen and Tsung-Yi Ho},
|
56 |
year={2023},
|
57 |
eprint={2307.03838},
|
58 |
archivePrefix={arXiv},
|
59 |
primaryClass={cs.CL}
|
60 |
-
}
|
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: ```bash\n@misc{hu2023radar,
|
54 |
title={RADAR: Robust AI-Text Detection via Adversarial Learning},
|
55 |
author={Xiaomeng Hu and Pin-Yu Chen and Tsung-Yi Ho},
|
56 |
year={2023},
|
57 |
eprint={2307.03838},
|
58 |
archivePrefix={arXiv},
|
59 |
primaryClass={cs.CL}
|
60 |
+
}```"
|
61 |
gr.Markdown(citation)
|
62 |
|
63 |
intf.launch(inline=False)
|