Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|