omerXfaruq commited on
Commit
1915c6c
1 Parent(s): 9377dea

add a comment

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -107,7 +107,9 @@ class SpaceBuilder:
107
  :return: True check is successful
108
  """
109
  name_list = cls.split_space_names(names)
 
110
  try:
 
111
  interfaces = [gr.Interface.load(name) for name in name_list]
112
  except Exception as ex:
113
  print(ex)
 
107
  :return: True check is successful
108
  """
109
  name_list = cls.split_space_names(names)
110
+
111
  try:
112
+ # We could gather these interfaces in parallel if gradio was supporting async gathering. It will probably possible after the migration to the FastAPI is completed.
113
  interfaces = [gr.Interface.load(name) for name in name_list]
114
  except Exception as ex:
115
  print(ex)