Kevin Louis commited on
Commit
e9cc178
1 Parent(s): cd75743

Added auto flagging

Browse files

added auto_flagging="auto'' parameter to gr.Interface

Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -152,6 +152,7 @@ ChatToSequence = gr.Interface(
152
  inputs=[gr.Textbox(label="Sequence", placeholder="Input DNA Sequence..."),
153
  gr.Textbox(label="Query", placeholder="Input Query...")],
154
  outputs=[gr.Textbox(label="Response"), gr.Textbox(label="Action Executed")],
 
155
  title="Chat-To-Sequence",
156
  description="This Demo App Allows You To Explore Your DNA Sequence Using Natural Language",
157
  theme=gr.themes.Soft(),
 
152
  inputs=[gr.Textbox(label="Sequence", placeholder="Input DNA Sequence..."),
153
  gr.Textbox(label="Query", placeholder="Input Query...")],
154
  outputs=[gr.Textbox(label="Response"), gr.Textbox(label="Action Executed")],
155
+ allow_flagging="auto",
156
  title="Chat-To-Sequence",
157
  description="This Demo App Allows You To Explore Your DNA Sequence Using Natural Language",
158
  theme=gr.themes.Soft(),