Spaces:
Runtime error
Runtime error
Added manual flagging.
Browse files- public_app.py +2 -0
public_app.py
CHANGED
@@ -84,6 +84,8 @@ if __name__ == '__main__':
|
|
84 |
' time to complete '
|
85 |
'during periods of heavy usage. Please be patient :)',
|
86 |
analytics_enabled=True,
|
|
|
|
|
87 |
outputs=gr.Textbox(lines=1, label='Answer'),
|
88 |
title='Chat with the FED meeting minutes',
|
89 |
examples=[['Who were the voting members present in the meeting on March 2023?'],
|
|
|
84 |
' time to complete '
|
85 |
'during periods of heavy usage. Please be patient :)',
|
86 |
analytics_enabled=True,
|
87 |
+
allow_flagging="manual",
|
88 |
+
flagging_options=["Got an error", "Ambiguous", "Not to the point"],
|
89 |
outputs=gr.Textbox(lines=1, label='Answer'),
|
90 |
title='Chat with the FED meeting minutes',
|
91 |
examples=[['Who were the voting members present in the meeting on March 2023?'],
|