Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import os
|
|
2 |
|
3 |
|
4 |
# Example command to set an environment variable (this is not effective for parent Python processes)
|
5 |
-
token=os.environ['
|
6 |
os.environ['HUGGINGFACE_TOKEN'] = token
|
7 |
|
8 |
# This will not make HUGGINGFACE_TOKEN accessible in the Python script outside the os.system call.
|
|
|
2 |
|
3 |
|
4 |
# Example command to set an environment variable (this is not effective for parent Python processes)
|
5 |
+
token=os.environ['token']
|
6 |
os.environ['HUGGINGFACE_TOKEN'] = token
|
7 |
|
8 |
# This will not make HUGGINGFACE_TOKEN accessible in the Python script outside the os.system call.
|