Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +7 -3
src/streamlit_app.py
CHANGED
|
@@ -29,12 +29,14 @@ from streamlit_extras.stylable_container import stylable_container
|
|
| 29 |
|
| 30 |
|
| 31 |
|
|
|
|
|
|
|
| 32 |
# --- Payment Variables ---
|
| 33 |
# !!! CRITICAL 1: Replace this placeholder with your actual PayPal email or Merchant ID. !!!
|
| 34 |
PAYPAL_BUSINESS_EMAIL = "maria.tsilimos@proton.me"
|
| 35 |
CURRENCY_CODE = "USD"
|
| 36 |
# !!! CRITICAL 2: URL to redirect the user to after they successfully complete payment on PayPal.
|
| 37 |
-
SUCCESS_URL = "https://premium-6msh.onrender.com"
|
| 38 |
|
| 39 |
# --- Fixed Price Configuration (Only one upgrade option) ---
|
| 40 |
FIXED_AMOUNT = 29.90 # Updated to $29.90
|
|
@@ -85,7 +87,7 @@ paypal_html = f"""
|
|
| 85 |
"""
|
| 86 |
|
| 87 |
# --- Layout: Place content and the button on the same top row ---
|
| 88 |
-
# col1: for the main content (
|
| 89 |
# col_spacer: to push the button to the far right
|
| 90 |
# col3: for the "Upgrade" button
|
| 91 |
|
|
@@ -93,7 +95,7 @@ col1, col_spacer, col3 = st.columns([1, 5, 1])
|
|
| 93 |
|
| 94 |
# --- Content ---
|
| 95 |
with col1:
|
| 96 |
-
st.write("")
|
| 97 |
|
| 98 |
# --- Button (Top Right) ---
|
| 99 |
with col3:
|
|
@@ -102,6 +104,8 @@ with col3:
|
|
| 102 |
|
| 103 |
|
| 104 |
|
|
|
|
|
|
|
| 105 |
|
| 106 |
|
| 107 |
|
|
|
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
+
|
| 33 |
+
|
| 34 |
# --- Payment Variables ---
|
| 35 |
# !!! CRITICAL 1: Replace this placeholder with your actual PayPal email or Merchant ID. !!!
|
| 36 |
PAYPAL_BUSINESS_EMAIL = "maria.tsilimos@proton.me"
|
| 37 |
CURRENCY_CODE = "USD"
|
| 38 |
# !!! CRITICAL 2: URL to redirect the user to after they successfully complete payment on PayPal.
|
| 39 |
+
SUCCESS_URL = "https://premium-6msh.onrender.com" # Updated SUCCESS URL
|
| 40 |
|
| 41 |
# --- Fixed Price Configuration (Only one upgrade option) ---
|
| 42 |
FIXED_AMOUNT = 29.90 # Updated to $29.90
|
|
|
|
| 87 |
"""
|
| 88 |
|
| 89 |
# --- Layout: Place content and the button on the same top row ---
|
| 90 |
+
# col1: for the main content (now empty)
|
| 91 |
# col_spacer: to push the button to the far right
|
| 92 |
# col3: for the "Upgrade" button
|
| 93 |
|
|
|
|
| 95 |
|
| 96 |
# --- Content ---
|
| 97 |
with col1:
|
| 98 |
+
st.write("") # Ensures the top-left area is clean
|
| 99 |
|
| 100 |
# --- Button (Top Right) ---
|
| 101 |
with col3:
|
|
|
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
+
|
| 108 |
+
|
| 109 |
|
| 110 |
|
| 111 |
|