botsi commited on
Commit
16989cc
·
verified ·
1 Parent(s): e6b50e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -74,7 +74,10 @@ with gr.Blocks(js = js) as demo:
74
  gr.Markdown("""## Gradio send queryparam to chatbot
75
  type `hi`
76
  """)
77
- url_params = gr.JSON({}, visible=False, label="URL Params")
 
 
 
78
  chatbot = gr.Chatbot()
79
  #chatbot = gr.Chatbot().style(height=500)
80
  msg = gr.Textbox()
 
74
  gr.Markdown("""## Gradio send queryparam to chatbot
75
  type `hi`
76
  """)
77
+ url_params = get_window_url_params()
78
+ session_index = 'eb3636167d3a63fbeee32934610e5b2f'
79
+ personalized_data = fetch_personalized_data(session_index)
80
+ #url_params = gr.JSON({}, visible=False, label="URL Params")
81
  chatbot = gr.Chatbot()
82
  #chatbot = gr.Chatbot().style(height=500)
83
  msg = gr.Textbox()