Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,6 +22,7 @@ new_directory_name = os.environ['GRADIO_TEMP_DIR']
|
|
| 22 |
new_directory_path = os.path.join(current_directory, new_directory_name)
|
| 23 |
print(f"The path to the new directory is: {new_directory_path}")
|
| 24 |
|
|
|
|
| 25 |
|
| 26 |
def create():
|
| 27 |
"""
|
|
|
|
| 22 |
new_directory_path = os.path.join(current_directory, new_directory_name)
|
| 23 |
print(f"The path to the new directory is: {new_directory_path}")
|
| 24 |
|
| 25 |
+
os.environ['GRADIO_TEMP_DIR'] = new_directory_path
|
| 26 |
|
| 27 |
def create():
|
| 28 |
"""
|