Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,14 @@ st.write("Contribute to this project on [GitHub](https://github.com/CognitiveLab
|
|
21 |
with st.expander(label="Check out the video demo"):
|
22 |
yt_video = st.video("https://www.youtube.com/watch?v=_zeCun4OlCc")
|
23 |
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
if assistant_api_key == '':
|
27 |
assistant_api_key = st.text_input("Paste your API key here:")
|
@@ -30,13 +37,6 @@ if assistant_api_key == '':
|
|
30 |
else:
|
31 |
gpt_assistant = GPTAssistant(assistant_api_key)
|
32 |
|
33 |
-
info_text = """
|
34 |
-
### Quick start
|
35 |
-
Fill the input with the HTML code you want to extract data from
|
36 |
-
Example below:
|
37 |
-
"""
|
38 |
-
st.write(info_text)
|
39 |
-
st.image("https://j.gifs.com/gpqvPl.gif")
|
40 |
|
41 |
html_content = st.text_input("Paste your piece of HTML here:")
|
42 |
|
|
|
21 |
with st.expander(label="Check out the video demo"):
|
22 |
yt_video = st.video("https://www.youtube.com/watch?v=_zeCun4OlCc")
|
23 |
|
24 |
+
info_text = """
|
25 |
+
### Quick start
|
26 |
+
Fill the input with the HTML code you want to extract data from
|
27 |
+
Example below:
|
28 |
+
"""
|
29 |
+
st.write(info_text)
|
30 |
+
st.image("https://j.gifs.com/gpqvPl.gif")
|
31 |
+
|
32 |
|
33 |
if assistant_api_key == '':
|
34 |
assistant_api_key = st.text_input("Paste your API key here:")
|
|
|
37 |
else:
|
38 |
gpt_assistant = GPTAssistant(assistant_api_key)
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
html_content = st.text_input("Paste your piece of HTML here:")
|
42 |
|