Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Commit

Permalink
remove more unnecessary async
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEEaton authored Sep 15, 2021
1 parent 6a6017e commit d991ed7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cloud_function.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import json
import os
import spacy
import asyncio
from flask import Response
from google.cloud import storage

nlp = spacy.load("en_core_web_md", disable=["tagger", "parser", "ner", "lemmatizer"])

async def doaj_trio(request):
def doaj_trio(request):
try:
encoded_data = request.data
string_data = encoded_data.decode()
Expand Down

0 comments on commit d991ed7

Please sign in to comment.