Update app.py
Browse files
app.py
CHANGED
|
@@ -19,6 +19,11 @@ if api_token is None:
|
|
| 19 |
# Perform login
|
| 20 |
login(api_token)
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
# Example notes
|
| 23 |
example_notes = """This data is about the Titanic wreck in 1912.
|
| 24 |
The target figure is the survival of passengers, noted by 'Survived'
|
|
|
|
| 19 |
# Perform login
|
| 20 |
login(api_token)
|
| 21 |
|
| 22 |
+
# Define base_prompt
|
| 23 |
+
base_prompt = """You are a data analyst. Analyze the following data:
|
| 24 |
+
{structure_notes}
|
| 25 |
+
"""
|
| 26 |
+
|
| 27 |
# Example notes
|
| 28 |
example_notes = """This data is about the Titanic wreck in 1912.
|
| 29 |
The target figure is the survival of passengers, noted by 'Survived'
|