codinglabsong commited on
Commit
5e4de6b
·
verified ·
1 Parent(s): d40d6c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
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()