Spaces:
Build error
Build error
update gradio version
Browse files- app.py +3 -0
- 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
|
|