Update play_gradio.py
Browse files- play_gradio.py +2 -1
play_gradio.py
CHANGED
@@ -15,9 +15,10 @@ import gradio as gr
|
|
15 |
|
16 |
|
17 |
#%%
|
18 |
-
fp_user_auth = f"{os.getenv('TEXTGAMES_OUTPUT_DIR')}/textgames_userauth.tsv"
|
19 |
# fp_user_auth_id = "13RLyxV3ys5DGgRIJt5_tO-ILllJ1LDPGasobagZyVLU"
|
20 |
fp_user_auth_mime_type = "text/tab-separated-values"
|
|
|
21 |
|
22 |
|
23 |
#%%
|
|
|
15 |
|
16 |
|
17 |
#%%
|
18 |
+
fp_user_auth = f"{os.getenv('TEXTGAMES_OUTPUT_DIR', '.')}/textgames_userauth.tsv"
|
19 |
# fp_user_auth_id = "13RLyxV3ys5DGgRIJt5_tO-ILllJ1LDPGasobagZyVLU"
|
20 |
fp_user_auth_mime_type = "text/tab-separated-values"
|
21 |
+
os.makedirs(os.getenv('TEXTGAMES_OUTPUT_DIR', '.'), exist_ok=True)
|
22 |
|
23 |
|
24 |
#%%
|