HighCWu commited on
Commit
9ba37b1
·
1 Parent(s): 7ab395a

remove enable_queue which enable default in spaces.

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,6 +3,7 @@ Refer to https://huggingface.co/spaces/dt/ascii-art/blob/main/app.py
3
  '''
4
  import os
5
  os.system("pip install gradio==2.9b23")
 
6
 
7
  # Python code to convert an image to ASCII image.
8
  import sys, random, argparse
@@ -203,4 +204,4 @@ iface = gr.Interface(sepia,
203
  title = "Colorful ASCII Art",
204
  description = "Convert an image to colorful ASCII art based on ascii character density. Click the first output text to download the generated svg.")
205
 
206
- iface.launch(enable_queue=True)
 
3
  '''
4
  import os
5
  os.system("pip install gradio==2.9b23")
6
+ os.environ["SYSTEM"] = "spaces"
7
 
8
  # Python code to convert an image to ASCII image.
9
  import sys, random, argparse
 
204
  title = "Colorful ASCII Art",
205
  description = "Convert an image to colorful ASCII art based on ascii character density. Click the first output text to download the generated svg.")
206
 
207
+ iface.launch()