Spaces:
Runtime error
Runtime error
bizvideoschool
commited on
Commit
•
0a480c8
1
Parent(s):
dd93db2
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
import openai
|
2 |
import streamlit as st
|
|
|
3 |
import os
|
4 |
|
5 |
# Ensure your OpenAI API key is set in your environment variables
|
@@ -23,9 +23,9 @@ def CustomChatGPT(user_input, messages):
|
|
23 |
st.title("Personalized Selling Plan Generator")
|
24 |
st.write("This tool generates a personalized selling plan for your home. Enter your selling timeline (in months), your budget for home preparations, and any tasks you already know you need to complete. The AI assistant will provide a detailed plan that includes a timeline for tasks like repairs, staging, listing, and open houses, and advice on how to prioritize tasks based on your budget and timeline.")
|
25 |
|
26 |
-
selling_timeline = st.text_input("Selling Timeline", "Enter the number of months until you plan to sell your home.")
|
27 |
-
budget = st.text_input("Budget for Preparations", "Enter the amount of money you have available for home preparations.")
|
28 |
-
known_tasks = st.text_input("Known Tasks to Complete", "Enter any tasks you already know you need to complete before selling.")
|
29 |
submit_button = st.button('Generate Plan')
|
30 |
|
31 |
if submit_button:
|
|
|
|
|
1 |
import streamlit as st
|
2 |
+
import openai
|
3 |
import os
|
4 |
|
5 |
# Ensure your OpenAI API key is set in your environment variables
|
|
|
23 |
st.title("Personalized Selling Plan Generator")
|
24 |
st.write("This tool generates a personalized selling plan for your home. Enter your selling timeline (in months), your budget for home preparations, and any tasks you already know you need to complete. The AI assistant will provide a detailed plan that includes a timeline for tasks like repairs, staging, listing, and open houses, and advice on how to prioritize tasks based on your budget and timeline.")
|
25 |
|
26 |
+
selling_timeline = st.text_input("Selling Timeline", placeholder="Enter the number of months until you plan to sell your home.")
|
27 |
+
budget = st.text_input("Budget for Preparations", placeholder="Enter the amount of money you have available for home preparations.")
|
28 |
+
known_tasks = st.text_input("Known Tasks to Complete", placeholder="Enter any tasks you already know you need to complete before selling.")
|
29 |
submit_button = st.button('Generate Plan')
|
30 |
|
31 |
if submit_button:
|