Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ description = "This model is a text-detector for AI-text generated by Vicuna-7B.
|
|
40 |
|
41 |
intf = gr.Interface(fn=detect, inputs=image, outputs=label, title=title,
|
42 |
description=description)
|
43 |
-
intf.
|
44 |
-
intf.
|
45 |
-
intf.
|
46 |
intf.launch(inline=False)
|
|
|
40 |
|
41 |
intf = gr.Interface(fn=detect, inputs=image, outputs=label, title=title,
|
42 |
description=description)
|
43 |
+
intf.add_input_sample(inputs=AI_texts, title="AI-text examples")
|
44 |
+
intf.add_input_sample(inputs=Human_texts, title="Human-text examples")
|
45 |
+
intf.add_input_sample(inputs=Constitution_input, title="The preamble to the United States Constitution")
|
46 |
intf.launch(inline=False)
|