Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ st_lottie(
|
|
22 |
|
23 |
)
|
24 |
|
25 |
-
st.write("**WARNING: GPT-3.5
|
26 |
radio_btn1=st.radio("**Choose the newspaper you want to collect news from**",options=("Prothom Alo","The Daily Star"))
|
27 |
radio_btn2=st.radio("**Choose an LLM model**",options=("GPT-4 (High Cost)","Llama3 (Free)","GPT-3.5 (Medium Cost + Long Waiting Time)"))
|
28 |
|
@@ -30,7 +30,7 @@ number = st.number_input("**Enter the number of accident news you want the LLM t
|
|
30 |
url = "https://drive.google.com/file/d/1lfIciJSOpK6e2YpuKg1efqomB3SgYN1C/view?usp=sharing"
|
31 |
|
32 |
if st.button("Generate Dataset"):
|
33 |
-
st.write("**Please wait while the dataset is being generated. Note that, 'General' accident
|
34 |
|
35 |
if radio_btn1=="Prothom Alo":
|
36 |
import Prothom_alo_fully_scraped
|
|
|
22 |
|
23 |
)
|
24 |
|
25 |
+
st.write("**WARNING: GPT-3.5 may take very long time to process. So, please be patient. Other LLMs (GPT-4 and Llama-3) take moderate amount of time. We suggest entering a small number (5-10) for testing purpose. Rule of thumb: GPT-3.5 takes 1.5 minute to process each entry. GPT-4 and Llama-3 each takes 40 sec to process each entry.**")
|
26 |
radio_btn1=st.radio("**Choose the newspaper you want to collect news from**",options=("Prothom Alo","The Daily Star"))
|
27 |
radio_btn2=st.radio("**Choose an LLM model**",options=("GPT-4 (High Cost)","Llama3 (Free)","GPT-3.5 (Medium Cost + Long Waiting Time)"))
|
28 |
|
|
|
30 |
url = "https://drive.google.com/file/d/1lfIciJSOpK6e2YpuKg1efqomB3SgYN1C/view?usp=sharing"
|
31 |
|
32 |
if st.button("Generate Dataset"):
|
33 |
+
st.write("**Please wait while the dataset is being generated. Note that, 'General' accident news reports will be excluded from the dataset. To know more, please read this paper:** [link](%s)" % url)
|
34 |
|
35 |
if radio_btn1=="Prothom Alo":
|
36 |
import Prothom_alo_fully_scraped
|