Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"
|