fhudi commited on
Commit
1d47774
·
1 Parent(s): 89198b2

Update play_gradio.py

Browse files
Files changed (1) hide show
  1. 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
  #%%