Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,15 +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: "+"\n"+
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
gr.Markdown(citation)
|
| 63 |
|
| 64 |
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)
|