HinaCortus commited on
Commit
17fc033
1 Parent(s): 3d86fd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -47,3 +47,10 @@ def TopicClassification(payload: TextIn):
47
 
48
  result = nlp(text, truncation=True)
49
  return {"result": result}
 
 
 
 
 
 
 
 
47
 
48
  result = nlp(text, truncation=True)
49
  return {"result": result}
50
+
51
+
52
+ @app.get("/whichsocial")
53
+ def whichsocial(request):
54
+ socialnetwork = 'TikTok'
55
+ userprofile = 'me'
56
+ return {"request"=request, "social_network": socialnetwork, "user_profile": userprofile}