Update app.py
Browse files
app.py
CHANGED
@@ -401,8 +401,8 @@ if (st.button("Submit")):
|
|
401 |
st.write(ans)
|
402 |
prompt2="Make a line graph with Date as the x label and Closing Value as the y label and save the graph as an image file name of file as 'img2.png'"
|
403 |
prompt1="Make a line graph, x axis lables should be rotation = 90, save the graph as an image file and name of file as 'img1.png'"
|
404 |
-
graphs('stocks_data.csv',prompt1)
|
405 |
-
graphs('fin_data.csv',prompt2)
|
406 |
image_path = ['img1.png','img2.png']
|
407 |
generate_pdf(ans,image_path)
|
408 |
st.write("PDF generated successfully! Click below to download.")
|
|
|
401 |
st.write(ans)
|
402 |
prompt2="Make a line graph with Date as the x label and Closing Value as the y label and save the graph as an image file name of file as 'img2.png'"
|
403 |
prompt1="Make a line graph, x axis lables should be rotation = 90, save the graph as an image file and name of file as 'img1.png'"
|
404 |
+
# graphs('stocks_data.csv',prompt1)
|
405 |
+
# graphs('fin_data.csv',prompt2)
|
406 |
image_path = ['img1.png','img2.png']
|
407 |
generate_pdf(ans,image_path)
|
408 |
st.write("PDF generated successfully! Click below to download.")
|