Ensure date is passed to pipeline. Fix woring
This commit is contained in:
@@ -16,6 +16,7 @@ const client = new Client({ apiUrl: API_URL });
|
||||
type Claim = {
|
||||
documentUrl: string;
|
||||
text: string;
|
||||
dateCreated: string;
|
||||
[key: string]: any;
|
||||
};
|
||||
|
||||
@@ -43,6 +44,7 @@ async function processClaim(claim: Claim): Promise<ResultRecord> {
|
||||
{
|
||||
input: {
|
||||
disinformationTitle: claim.text,
|
||||
date: claim.dateCreated
|
||||
},
|
||||
streamMode: "values",
|
||||
config: {
|
||||
|
||||
@@ -73,7 +73,7 @@ def render():
|
||||
st.markdown(c.get("reasoningWhyRelevant"))
|
||||
st.markdown("---")
|
||||
|
||||
if st.button("Submit PERFECT Ranking"):
|
||||
if st.button("Submit Ranking"):
|
||||
|
||||
n = len(order)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user