Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ title = "RADAR: Robust AI-text Detection via Adversarial leanRning"
|
|
| 42 |
description = "An AI-written text detector based on the roberta-large model (fine-tuned with Vicuna-7B).\nSee https://arxiv.org/abs/2307.03838 for details.\nProject Page: https://radar.vizhub.ai/"
|
| 43 |
|
| 44 |
intf = gr.Interface(fn=detect, inputs=image, outputs=label, title=title,
|
| 45 |
-
description=
|
| 46 |
with gr.Interface(fn=detect, inputs=image, outputs=label, title=title, description=description) as intf:
|
| 47 |
with gr.Tab("AI-text examples"):
|
| 48 |
gr.Examples(AI_texts, inputs=image, outputs=label)
|
|
|
|
| 42 |
description = "An AI-written text detector based on the roberta-large model (fine-tuned with Vicuna-7B).\nSee https://arxiv.org/abs/2307.03838 for details.\nProject Page: https://radar.vizhub.ai/"
|
| 43 |
|
| 44 |
intf = gr.Interface(fn=detect, inputs=image, outputs=label, title=title,
|
| 45 |
+
description=description)
|
| 46 |
with gr.Interface(fn=detect, inputs=image, outputs=label, title=title, description=description) as intf:
|
| 47 |
with gr.Tab("AI-text examples"):
|
| 48 |
gr.Examples(AI_texts, inputs=image, outputs=label)
|