Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from flask import Flask, request, jsonify
|
2 |
import torch
|
|
|
3 |
from transformers import (
|
4 |
-
UNet2DConditionModel,
|
5 |
AutoTokenizer,
|
6 |
CLIPTextModel,
|
7 |
CLIPTextModelWithProjection,
|
|
|
1 |
from flask import Flask, request, jsonify
|
2 |
import torch
|
3 |
+
from diffusers import UNet2DConditionModel # Modification ici
|
4 |
from transformers import (
|
|
|
5 |
AutoTokenizer,
|
6 |
CLIPTextModel,
|
7 |
CLIPTextModelWithProjection,
|