Warlord-K commited on
Commit
d3c94f9
1 Parent(s): 85b10a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -17,16 +17,15 @@ def fashion(question):
17
  output = answer_question(question)
18
  image = image_client.predict(
19
  output, # str in 'What you want the AI to generate. 77 Token Limit.' Textbox component
20
- "blurry, cropped, nsfw, bad hands, disfigured", # str in 'What you Do Not want the AI to generate. 77 Token Limit' Textbox component
21
  512, # int | float (numeric value between 512 and 1024) in 'Height' Slider component
22
  512, # int | float (numeric value between 512 and 1024) in 'Width' Slider component
23
  9, # int | float (numeric value between 1 and 15) in 'scale' Slider component
24
  25, # int | float (numeric value between 25 and 100) in 'steps' Slider component
25
- 9326438724, # int | float (numeric value between 1 and 9999999999999999) in 'seed' Slider component
26
- "No", # str in 'Upscale?' Radio component
27
  api_name="/predict"
28
  )
29
- print(image)
30
  return None, output, image
31
 
32
 
 
17
  output = answer_question(question)
18
  image = image_client.predict(
19
  output, # str in 'What you want the AI to generate. 77 Token Limit.' Textbox component
20
+ "blurry, cropped, nsfw, badhands, disfigured", # str in 'What you Do Not want the AI to generate. 77 Token Limit' Textbox component
21
  512, # int | float (numeric value between 512 and 1024) in 'Height' Slider component
22
  512, # int | float (numeric value between 512 and 1024) in 'Width' Slider component
23
  9, # int | float (numeric value between 1 and 15) in 'scale' Slider component
24
  25, # int | float (numeric value between 25 and 100) in 'steps' Slider component
25
+ 23465432238, # int | float (numeric value between 1 and 9999999999999999) in 'seed' Slider component
26
+ "Yes", # str in 'Upscale?' Radio component
27
  api_name="/predict"
28
  )
 
29
  return None, output, image
30
 
31