Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ description = """
|
|
| 18 |
Please give it 3 to 4 minutes for the model to load and Run , consider using Python code with less than 120 lines of code due to GPU constrainst
|
| 19 |
"""
|
| 20 |
css = """.toast-wrap { display: none !important } """
|
| 21 |
-
|
| 22 |
import pandas as pd
|
| 23 |
import re
|
| 24 |
import ast
|
|
@@ -84,8 +84,7 @@ def analyze_sales_data(sales_records):
|
|
| 84 |
for rank, (category, _) in enumerate(average_sales_data, start=1):
|
| 85 |
sales_by_category[category]['rank'] = rank
|
| 86 |
return sales_by_category
|
| 87 |
-
"""]
|
| 88 |
-
]
|
| 89 |
|
| 90 |
# Note: We have removed default system prompt as requested by the paper authors [Dated: 13/Oct/2023]
|
| 91 |
# Prompting style for Llama2 without using system prompt
|
|
|
|
| 18 |
Please give it 3 to 4 minutes for the model to load and Run , consider using Python code with less than 120 lines of code due to GPU constrainst
|
| 19 |
"""
|
| 20 |
css = """.toast-wrap { display: none !important } """
|
| 21 |
+
examples=[["""
|
| 22 |
import pandas as pd
|
| 23 |
import re
|
| 24 |
import ast
|
|
|
|
| 84 |
for rank, (category, _) in enumerate(average_sales_data, start=1):
|
| 85 |
sales_by_category[category]['rank'] = rank
|
| 86 |
return sales_by_category
|
| 87 |
+
"""]]
|
|
|
|
| 88 |
|
| 89 |
# Note: We have removed default system prompt as requested by the paper authors [Dated: 13/Oct/2023]
|
| 90 |
# Prompting style for Llama2 without using system prompt
|