Spaces:
Runtime error
Runtime error
Commit
·
17fc033
1
Parent(s):
3d86fd5
Update app.py
Browse files
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}
|