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