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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -98,7 +98,8 @@ def classify_page(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
 
103
  def create_notebook(file, tc, bc):
104
  notebook = new_notebook()
 
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()