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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -3,13 +3,15 @@
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
15
 
 
3
  # https://www.stockfish.online/docs.php (API)
4
  # https://www.stockfish.online/ (FEN to image)
5
 
6
+ import gradio as gr
7
 
8
+ import gradio.utils
9
+
10
+ def dummy_watchfn(*args, **kwargs):
11
+ pass
12
+
13
+ gradio.utils.watchfn_spaces = dummy_watchfn
14
 
 
15
  import requests
16
  from typing import Optional, List, Dict, Any
17