Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ from PIL import Image
|
|
| 14 |
import io
|
| 15 |
from streamlit_gsheets import GSheetsConnection
|
| 16 |
|
| 17 |
-
conn = st.connection("gsheets", type=GSheetsConnection)
|
| 18 |
|
| 19 |
|
| 20 |
def process_run(st, thread_id, assistant_id):
|
|
@@ -100,7 +100,7 @@ def page2():
|
|
| 100 |
st.session_state["brand_prompt"], brand_image_embed)
|
| 101 |
st.session_state['brand_summary'] = brand_summary_response
|
| 102 |
else:
|
| 103 |
-
st.text(f"Scrapfly failed due to: {brand_summary_html
|
| 104 |
st.text("Using Langchain")
|
| 105 |
brand_summary_html = create_brand_html(brand_link)
|
| 106 |
brand_summary = create_langchain_openai_query(brand_summary_html)
|
|
|
|
| 14 |
import io
|
| 15 |
from streamlit_gsheets import GSheetsConnection
|
| 16 |
|
| 17 |
+
# conn = st.connection("gsheets", type=GSheetsConnection)
|
| 18 |
|
| 19 |
|
| 20 |
def process_run(st, thread_id, assistant_id):
|
|
|
|
| 100 |
st.session_state["brand_prompt"], brand_image_embed)
|
| 101 |
st.session_state['brand_summary'] = brand_summary_response
|
| 102 |
else:
|
| 103 |
+
st.text(f"Scrapfly failed due to: {brand_summary_html}")
|
| 104 |
st.text("Using Langchain")
|
| 105 |
brand_summary_html = create_brand_html(brand_link)
|
| 106 |
brand_summary = create_langchain_openai_query(brand_summary_html)
|