Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,9 @@ if st.button("Give me Proxy!"):
|
|
14 |
try:
|
15 |
response = requests.get('https://mtpro.xyz/api/?type=mtproto')
|
16 |
data = response.json()
|
|
|
|
|
|
|
17 |
results = st.empty()
|
18 |
results.empty()
|
19 |
results.markdown("<div class='result'>", unsafe_allow_html=True)
|
|
|
14 |
try:
|
15 |
response = requests.get('https://mtpro.xyz/api/?type=mtproto')
|
16 |
data = response.json()
|
17 |
+
st.write("Data fetched from API:")
|
18 |
+
st.write(data) # Debug statement to display fetched data
|
19 |
+
|
20 |
results = st.empty()
|
21 |
results.empty()
|
22 |
results.markdown("<div class='result'>", unsafe_allow_html=True)
|