Spaces:
SHOOL45
/
Runtime error

Rooni commited on
Commit
efacd0c
1 Parent(s): d3ca963

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ mmodels = {
33
  timeout = 100
34
  # PLEASE ❤ like ❤ this space. Please like me. I am 12 years old, one of my projects is: https://ai-hub.rf.gd . I live in Russia, I don't know English very well. Therefore, I apologize that there is only Russian here, but I think it will not be difficult to translate all this. (For example, using gpt)
35
 
36
- def query(prompt, model="DALL-E 3 XL", gpt=True, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, width=1024, height=1024):
37
  if prompt == "" or prompt == None:
38
  raise gr.Error("🙏 Опиши пожалуйста как должно выглядеть изображение")
39
  return None
 
33
  timeout = 100
34
  # PLEASE ❤ like ❤ this space. Please like me. I am 12 years old, one of my projects is: https://ai-hub.rf.gd . I live in Russia, I don't know English very well. Therefore, I apologize that there is only Russian here, but I think it will not be difficult to translate all this. (For example, using gpt)
35
 
36
+ def query(prompt, is_negative=False, gpt=True, model="DALL-E 3 XL", steps=30, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, width=1024, height=1024):
37
  if prompt == "" or prompt == None:
38
  raise gr.Error("🙏 Опиши пожалуйста как должно выглядеть изображение")
39
  return None