kwabs22 commited on
Commit
a60b45e
·
1 Parent(s): 432c1ec

Load game supports media now?

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -565,7 +565,7 @@ def load_game(custom_config=None, with_media=False):
565
  error_message += f"{pointer}\n"
566
  error_message += f"Error details: {str(e)}"
567
 
568
- return gr.update(value=error_message), gr.update(), gr.update(), None, gr.update(value=custom_config)
569
  except Exception as e:
570
  return gr.update(value=f"Error loading custom configuration: {str(e)}"), gr.update(), gr.update(), None, gr.update(value=custom_config)
571
 
 
565
  error_message += f"{pointer}\n"
566
  error_message += f"Error details: {str(e)}"
567
 
568
+ return gr.update(value=error_message), gr.update(), gr.update(), None, gr.update(value=custom_config), None, None
569
  except Exception as e:
570
  return gr.update(value=f"Error loading custom configuration: {str(e)}"), gr.update(), gr.update(), None, gr.update(value=custom_config)
571