Spaces:
Runtime error
Runtime error
jaekookang
commited on
Commit
·
a4c9125
1
Parent(s):
f128ee8
update secrets
Browse files
gradio_imagecompletion.py
CHANGED
|
@@ -23,6 +23,8 @@ from transformers import ImageGPTFeatureExtractor, ImageGPTForCausalImageModelin
|
|
| 23 |
# ========== Settings ==========
|
| 24 |
EXAMPLE_DIR = 'examples'
|
| 25 |
examples = sorted(glob(os.path.join(EXAMPLE_DIR, '*.jpg')))
|
|
|
|
|
|
|
| 26 |
|
| 27 |
# ========== Logger ==========
|
| 28 |
logger.add('app.log', mode='a')
|
|
|
|
| 23 |
# ========== Settings ==========
|
| 24 |
EXAMPLE_DIR = 'examples'
|
| 25 |
examples = sorted(glob(os.path.join(EXAMPLE_DIR, '*.jpg')))
|
| 26 |
+
JKANG = os.getenv('JKANG')
|
| 27 |
+
NAMZ = os.genenv('NAMZ')
|
| 28 |
|
| 29 |
# ========== Logger ==========
|
| 30 |
logger.add('app.log', mode='a')
|