Skip to content

Commit

Permalink
Merge pull request #101 from AI4Bharat/dev-s
Browse files Browse the repository at this point in the history
  • Loading branch information
ishvindersethi22 authored Aug 21, 2024
2 parents 08f88cc + c698ba2 commit 4f027c2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions backend/workspaces/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1665,14 +1665,14 @@ def cumulative_tasks_count_all(self, request, pk=None):
metainfo = request.query_params["metainfo"]
if metainfo == "true" or metainfo == "True":
metainfo = True
project_types = [
"ContextualTranslationEditing",
"ContextualSentenceVerification",
"SemanticTextualSimilarity_Scale5",
"AudioTranscriptionEditing",
"AudioTranscription",
"AudioSegmentation",
]
if "project_type_filter" in dict(request.query_params):
project_types = [request.query_params["project_type_filter"]]
else:
project_types = [
"InstructionDrivenChat",
"ModelInteractionEvaluation",
"ModelOutputEvaluation",
]
if "project_type" in dict(request.query_params):
project_type = request.query_params["project_type"]
project_types = [project_type]
Expand Down

0 comments on commit 4f027c2

Please sign in to comment.