Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,11 +61,6 @@ def fetch_personalized_data(session_index):
|
|
| 61 |
print(f"Error: {err}")
|
| 62 |
return None
|
| 63 |
|
| 64 |
-
# Fetch personalized data
|
| 65 |
-
personalized_data = fetch_personalized_data(session_index)
|
| 66 |
-
print(personalized_data)
|
| 67 |
-
|
| 68 |
-
'''
|
| 69 |
def get_window_url_params():
|
| 70 |
return """
|
| 71 |
function() {
|
|
@@ -74,7 +69,13 @@ def get_window_url_params():
|
|
| 74 |
return url_params;
|
| 75 |
}
|
| 76 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
|
|
|
|
|
|
|
| 78 |
with gr.Blocks() as demo:
|
| 79 |
gr.Markdown("""## Gradio send queryparam to chatbot
|
| 80 |
type `read query`
|
|
|
|
| 61 |
print(f"Error: {err}")
|
| 62 |
return None
|
| 63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
def get_window_url_params():
|
| 65 |
return """
|
| 66 |
function() {
|
|
|
|
| 69 |
return url_params;
|
| 70 |
}
|
| 71 |
"""
|
| 72 |
+
|
| 73 |
+
# Fetch personalized data
|
| 74 |
+
personalized_data = fetch_personalized_data(session_index)
|
| 75 |
+
print(personalized_data)
|
| 76 |
|
| 77 |
+
|
| 78 |
+
'''
|
| 79 |
with gr.Blocks() as demo:
|
| 80 |
gr.Markdown("""## Gradio send queryparam to chatbot
|
| 81 |
type `read query`
|