Spaces:
Paused
Paused
Update main.py (#5)
Browse files- Update main.py (82286d5df3d95313c9733992ad7da22540611e70)
Co-authored-by: True Saiyan <[email protected]>
main.py
CHANGED
|
@@ -107,7 +107,7 @@ app = FastAPI(
|
|
| 107 |
)
|
| 108 |
|
| 109 |
trans = SyncTranslator()
|
| 110 |
-
|
| 111 |
|
| 112 |
timeout = 100
|
| 113 |
contact_support = """
|
|
@@ -475,7 +475,7 @@ async def bing_dalle(item: BingDalle):
|
|
| 475 |
try:
|
| 476 |
BingImages = await BingClient(image_provider=BingCreateImages)
|
| 477 |
except Exception:
|
| 478 |
-
|
| 479 |
|
| 480 |
try:
|
| 481 |
set_cookies(
|
|
|
|
| 107 |
)
|
| 108 |
|
| 109 |
trans = SyncTranslator()
|
| 110 |
+
|
| 111 |
|
| 112 |
timeout = 100
|
| 113 |
contact_support = """
|
|
|
|
| 475 |
try:
|
| 476 |
BingImages = await BingClient(image_provider=BingCreateImages)
|
| 477 |
except Exception:
|
| 478 |
+
BingImages = BingClient(image_provider=BingCreateImages)
|
| 479 |
|
| 480 |
try:
|
| 481 |
set_cookies(
|