ChevalierJoseph commited on
Commit
3403081
·
verified ·
1 Parent(s): 2601d8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -616,7 +616,10 @@ app = Server()
616
 
617
 
618
  @app.api(name="generate", concurrency_limit=1)
619
- def generate(prompt: str = "", control_image: FileData = None):
 
 
 
620
  """
621
  Returns a positional tuple -> arrives on the JS client as result.data:
622
  data[0] uppercase grid (FileData .url)
 
616
 
617
 
618
  @app.api(name="generate", concurrency_limit=1)
619
+ def generate(
620
+ prompt: str = "",
621
+ control_image: FileData | None = None,
622
+ ) -> tuple[FileData, FileData, FileData, FileData, FileData, str]:
623
  """
624
  Returns a positional tuple -> arrives on the JS client as result.data:
625
  data[0] uppercase grid (FileData .url)