replace python django backend with nodejs backend
This commit is contained in:
11
backend_old/ai/models.py
Normal file
11
backend_old/ai/models.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from django.db import models
|
||||
|
||||
|
||||
# Create your models here.
|
||||
class AiConfig(models.Model):
|
||||
name = models.CharField(max_length=255)
|
||||
model_id_or_path = models.CharField(max_length=255)
|
||||
discord_token = models.CharField(max_length=255)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
Reference in New Issue
Block a user