Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,13 +84,10 @@ def main() -> None:
|
|
| 84 |
"""
|
| 85 |
interface = gr.Interface(
|
| 86 |
fn=predict,
|
| 87 |
-
inputs=gr.Textbox(lines=5, placeholder="Broad questions often have better results.", label="Your Question"),
|
| 88 |
outputs=gr.Textbox(label="Mimic Bot's Comment"),
|
| 89 |
title="Reddit-User-Mimic-Bot Inference (Bart-LoRA)",
|
| 90 |
description="Enter a question you would ask on reddit, and our Mimic Bot would comment back! Have fun.",
|
| 91 |
-
examples=[
|
| 92 |
-
["How's the politics these days?"],
|
| 93 |
-
],
|
| 94 |
allow_flagging="never",
|
| 95 |
)
|
| 96 |
interface.launch()
|
|
|
|
| 84 |
"""
|
| 85 |
interface = gr.Interface(
|
| 86 |
fn=predict,
|
| 87 |
+
inputs=gr.Textbox(lines=5, placeholder="Broad questions often have better results (e.g. What do you think about politics right now?).", label="Your Question"),
|
| 88 |
outputs=gr.Textbox(label="Mimic Bot's Comment"),
|
| 89 |
title="Reddit-User-Mimic-Bot Inference (Bart-LoRA)",
|
| 90 |
description="Enter a question you would ask on reddit, and our Mimic Bot would comment back! Have fun.",
|
|
|
|
|
|
|
|
|
|
| 91 |
allow_flagging="never",
|
| 92 |
)
|
| 93 |
interface.launch()
|