bstraehle commited on
Commit
09496b9
·
verified ·
1 Parent(s): e77d587

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -3,6 +3,12 @@
3
  # https://www.stockfish.online/docs.php (API)
4
  # https://www.stockfish.online/ (FEN to image)
5
 
 
 
 
 
 
 
6
  import gradio as gr
7
  import requests
8
  from typing import Optional, List, Dict, Any
 
3
  # https://www.stockfish.online/docs.php (API)
4
  # https://www.stockfish.online/ (FEN to image)
5
 
6
+ import os
7
+
8
+ os.environ["GRADIO_SPACES_ENABLE_HOT_RELOAD"] = "False"
9
+ if "GRADIO_HOT_RELOAD" in os.environ:
10
+ del os.environ["GRADIO_HOT_RELOAD"]
11
+
12
  import gradio as gr
13
  import requests
14
  from typing import Optional, List, Dict, Any