Ashhar commited on
Commit
600f54f
·
1 Parent(s): 924b273

disable using experimental use_file_output

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. constants.py +1 -1
app.py CHANGED
@@ -307,7 +307,8 @@ def __generateImage(prompt: str):
307
  "output_format": "png",
308
  # "output_quality": 80,
309
  "num_inference_steps": 4
310
- }
 
311
  )
312
  if result:
313
  result = result[0]
 
307
  "output_format": "png",
308
  # "output_quality": 80,
309
  "num_inference_steps": 4
310
+ },
311
+ use_file_output=False
312
  )
313
  if result:
314
  result = result[0]
constants.py CHANGED
@@ -1,7 +1,7 @@
1
  JSON_SEPARATOR = ">>>>"
2
  EXCEPTION_KEYWORD = "<<EXCEPTION>>"
3
  BOOKING_LINK = "https://calendly.com"
4
- WORDS_LIMIT = 300
5
 
6
  SYSTEM_MSG = f"""
7
  => Context:
 
1
  JSON_SEPARATOR = ">>>>"
2
  EXCEPTION_KEYWORD = "<<EXCEPTION>>"
3
  BOOKING_LINK = "https://calendly.com"
4
+ WORDS_LIMIT = 1500
5
 
6
  SYSTEM_MSG = f"""
7
  => Context: