vsrinivas commited on
Commit
3613316
·
verified ·
1 Parent(s): a0e5d02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -97,9 +97,9 @@ def classify_page(statement):
97
  Input: {statement}
98
  """
99
  response = chat_session.send_message(prompt)
 
100
  print(response.text.replace("```python\n", "").replace("```", "").strip())
101
- # return ast.literal_eval(response.text.replace("```python\n", "").replace("```", "").strip())
102
- return response.text.replace("```python\n", "").replace("```", "").strip()
103
 
104
  def create_notebook(file, tc, bc):
105
  notebook = new_notebook()
 
97
  Input: {statement}
98
  """
99
  response = chat_session.send_message(prompt)
100
+ print(response.text)
101
  print(response.text.replace("```python\n", "").replace("```", "").strip())
102
+ return ast.literal_eval(response.text.replace("```python\n", "").replace("```", "").strip())
 
103
 
104
  def create_notebook(file, tc, bc):
105
  notebook = new_notebook()