Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ info_text = """
|
|
25 |
Fill the input with the HTML code you want to extract data from
|
26 |
"""
|
27 |
st.write(info_text)
|
28 |
-
st.image("https://j.gifs.com/gpqvPl.gif")
|
29 |
|
30 |
|
31 |
if assistant_api_key == '':
|
@@ -36,7 +36,7 @@ else:
|
|
36 |
gpt_assistant = GPTAssistant(assistant_api_key)
|
37 |
|
38 |
|
39 |
-
html_content = st.text_input("Paste
|
40 |
# check if html_content is an url, and show error if it is
|
41 |
if html_content:
|
42 |
if html_content.startswith("http"):
|
|
|
25 |
Fill the input with the HTML code you want to extract data from
|
26 |
"""
|
27 |
st.write(info_text)
|
28 |
+
st.image("https://j.gifs.com/gpqvPl.gif", max="600")
|
29 |
|
30 |
|
31 |
if assistant_api_key == '':
|
|
|
36 |
gpt_assistant = GPTAssistant(assistant_api_key)
|
37 |
|
38 |
|
39 |
+
html_content = st.text_input("Paste the HTML tags of the item you want to extract:", max_chars=10000, help="example: <li>Product 1 </li>, watch the video above")
|
40 |
# check if html_content is an url, and show error if it is
|
41 |
if html_content:
|
42 |
if html_content.startswith("http"):
|