Skip to content

Instantly share code, notes, and snippets.

@aballah-chamakh
Last active December 10, 2019 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aballah-chamakh/74a9c216220d74cc82ed988281db90fb to your computer and use it in GitHub Desktop.
Save aballah-chamakh/74a9c216220d74cc82ed988281db90fb to your computer and use it in GitHub Desktop.
from django.db import models
from django.contrib.auth.models import User
class SentimentAnalysisInference(models.Model):
user = models.OneTOneField(User,on_delete=models.CASCADE)
text = models.TextField()
result = models.CharField(max_length=255)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment