Update app.py
Browse files
app.py
CHANGED
@@ -355,11 +355,9 @@ async def deepfloydif(ctx, *, prompt: str):
|
|
355 |
|
356 |
except Exception as e:
|
357 |
print(f"Error: {e}")
|
358 |
-
ignorecheck = str(e)
|
359 |
-
if not "Error: 400 Bad Request (error code: 50035): Invalid Form Body" in ignorecheck:
|
360 |
if thread is None:
|
361 |
thread = await ctx.message.create_thread(name=f'DFIF1 Error')
|
362 |
-
await thread.send(f"{ctx.author.mention} Error before stage 1 generation, {e}")
|
363 |
await fullqueue(e, thread)
|
364 |
await ctx.message.remove_reaction('<a:loading:1114111677990981692>', bot.user)
|
365 |
await ctx.message.add_reaction('<:disagree:1098628957521313892>')
|
|
|
355 |
|
356 |
except Exception as e:
|
357 |
print(f"Error: {e}")
|
|
|
|
|
358 |
if thread is None:
|
359 |
thread = await ctx.message.create_thread(name=f'DFIF1 Error')
|
360 |
+
await thread.send(f"{ctx.author.mention} Error before stage 1 generation, {e}. If error code: 50035, upscale can still work.")
|
361 |
await fullqueue(e, thread)
|
362 |
await ctx.message.remove_reaction('<a:loading:1114111677990981692>', bot.user)
|
363 |
await ctx.message.add_reaction('<:disagree:1098628957521313892>')
|