bstraehle commited on
Commit
a051fa3
·
verified ·
1 Parent(s): 365b1b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -3,11 +3,8 @@
3
  # https://www.gradio.app/guides/quickstart
4
 
5
  import os
6
-
7
- os.environ["GRADIO_SPACES_ENABLE_HOT_RELOAD"] = "0"
8
- os.environ.pop("GRADIO_HOT_RELOAD", None)
9
-
10
  import gradio as gr
 
11
  from agents.crew import run_crew
12
  from utils.utils import get_questions
13
 
@@ -69,6 +66,11 @@ def update_file_link(file_name):
69
 
70
  return ""
71
 
 
 
 
 
 
72
  # Graphical user interface
73
 
74
  QUESTION_FILE_PATH_GAIA = "files/gaia_validation.jsonl"
 
3
  # https://www.gradio.app/guides/quickstart
4
 
5
  import os
 
 
 
 
6
  import gradio as gr
7
+ import gradio.utils
8
  from agents.crew import run_crew
9
  from utils.utils import get_questions
10
 
 
66
 
67
  return ""
68
 
69
+ def watchfn(*args, **kwargs):
70
+ pass
71
+
72
+ gradio.utils.watchfn_spaces = watchfn
73
+
74
  # Graphical user interface
75
 
76
  QUESTION_FILE_PATH_GAIA = "files/gaia_validation.jsonl"