HighCWu commited on
Commit
18ce73e
·
1 Parent(s): 704c061

force use queue

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@
2
  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 +203,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()
 
2
  Refer to https://huggingface.co/spaces/dt/ascii-art/blob/main/app.py
3
  '''
4
  import os
5
+ os.system("pip install gradio==2.9.4")
6
 
7
  # Python code to convert an image to ASCII image.
8
  import sys, random, argparse
 
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)