Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1965,7 +1965,7 @@ with gr.Blocks(title="Space Weather", head=GA4_HEAD) as demo:
|
|
| 1965 |
# "nyantol" saat klik pertama -> baru berfungsi di klik kedua.
|
| 1966 |
state = AppState.from_dict(state_dict)
|
| 1967 |
has_cache = bool(state.cache)
|
| 1968 |
-
modal_html = build_recommendation_modal(state.cache) if has_cache else ""
|
| 1969 |
return (
|
| 1970 |
gr.update(visible=False),
|
| 1971 |
gr.update(visible=True),
|
|
|
|
| 1965 |
# "nyantol" saat klik pertama -> baru berfungsi di klik kedua.
|
| 1966 |
state = AppState.from_dict(state_dict)
|
| 1967 |
has_cache = bool(state.cache)
|
| 1968 |
+
modal_html = build_recommendation_modal(state.cache, skip_url=SHOPEE_LINK) if has_cache else ""
|
| 1969 |
return (
|
| 1970 |
gr.update(visible=False),
|
| 1971 |
gr.update(visible=True),
|