HighCWu commited on
Commit
3de631b
·
1 Parent(s): d39079f

update gradio version

Browse files
Files changed (2) hide show
  1. app.py +3 -0
  2. requirements.txt +1 -2
app.py CHANGED
@@ -1,6 +1,9 @@
1
  '''
2
  Refer to https://huggingface.co/spaces/dt/ascii-art/blob/main/app.py
3
  '''
 
 
 
4
  # Python code to convert an image to ASCII image.
5
  import sys, random, argparse
6
  import numpy as np
 
1
  '''
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
9
  import numpy as np
requirements.txt CHANGED
@@ -1,2 +1 @@
1
- Pillow
2
- gradio==2.9b23
 
1
+ Pillow