iisadia commited on
Commit
581a55e
·
verified ·
1 Parent(s): 349a229

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -81,6 +81,7 @@ def load_movie_data():
81
  except Exception as e:
82
  # Option 2: Fallback to synthetic data
83
  st.warning("Using high-quality synthetic movie data")
 
84
  return pd.DataFrame([
85
  {
86
  "context": "Title: The Dark Knight\nPlot: Batman faces the Joker...\nYear: 2008\nCast: Christian Bale, Heath Ledger\nDirector: Christopher Nolan"
 
81
  except Exception as e:
82
  # Option 2: Fallback to synthetic data
83
  st.warning("Using high-quality synthetic movie data")
84
+ st.error(f"Dataset loading failed: {str(e)}")
85
  return pd.DataFrame([
86
  {
87
  "context": "Title: The Dark Knight\nPlot: Batman faces the Joker...\nYear: 2008\nCast: Christian Bale, Heath Ledger\nDirector: Christopher Nolan"