botsi commited on
Commit
855f98e
·
verified ·
1 Parent(s): e7fdb77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -101,16 +101,16 @@ type `read query`
101
  time.sleep(1)
102
  return history
103
 
104
- # get url params out of JavaScript function as variables and pass the session_index to fetch_personalized_data() function
105
- def session (session_index):
106
- bot_message = f"""
107
- here your session ID:
108
- {json.dumps(session_index, indent=4)}
109
- """
110
- return bot_message
111
-
112
- bot_message = session(session_index)
113
- print(bot_message)
114
 
115
  ''' def bot(history, url_params):
116
  global session_index
 
101
  time.sleep(1)
102
  return history
103
 
104
+ # get url params out of JavaScript function as variables and pass the session_index to fetch_personalized_data() function
105
+ def session (session_index):
106
+ bot_message = f"""
107
+ here your session ID:
108
+ {json.dumps(session_index, indent=4)}
109
+ """
110
+ return bot_message
111
+
112
+ bot_message = session(session_index)
113
+ print(bot_message)
114
 
115
  ''' def bot(history, url_params):
116
  global session_index