Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -36,8 +36,6 @@ class ImageModel(models.Model):
|
|
36 |
name = models.CharField(max_length=100)
|
37 |
image = models.ImageField(upload_to='images/')
|
38 |
|
39 |
-
functions.py:
|
40 |
-
|
41 |
def merge_models(model1, model2, function1, function3):
|
42 |
# merge the selected models and functions here
|
43 |
model1_objects = model1.objects.all()
|
@@ -54,7 +52,6 @@ def merge_models(model1, model2, function1, function3):
|
|
54 |
merged_objects.append(merged_obj)
|
55 |
return merged_objects
|
56 |
|
57 |
-
|
58 |
import openai
|
59 |
import jinja2
|
60 |
|
|
|
36 |
name = models.CharField(max_length=100)
|
37 |
image = models.ImageField(upload_to='images/')
|
38 |
|
|
|
|
|
39 |
def merge_models(model1, model2, function1, function3):
|
40 |
# merge the selected models and functions here
|
41 |
model1_objects = model1.objects.all()
|
|
|
52 |
merged_objects.append(merged_obj)
|
53 |
return merged_objects
|
54 |
|
|
|
55 |
import openai
|
56 |
import jinja2
|
57 |
|