Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -187,17 +187,17 @@ def text_summarization():
|
|
187 |
if option == 'How to Win friends - Text': # add text
|
188 |
name = "How_to_win_friends.txt"
|
189 |
st.write("Selected file for analyis is: How_to_win_friends.txt")
|
190 |
-
st.markdown(f'<p style="color: #012d51;font-size:24px;border-radius:%;">{"
|
191 |
|
192 |
if option == 'The Age of Intelligent Machines':
|
193 |
name = "The Age of Intelligent Machines.txt"
|
194 |
st.write("Selected file for analyis is: The Age of Intelligent Machines.txt")
|
195 |
-
st.markdown(f'<p style="color: #012d51;font-size:24px;border-radius:%;">{"
|
196 |
|
197 |
if option == "The Singularity is Near - Ray Kurzweil.txt":
|
198 |
name = "The Singularity is Near - Ray Kurzweil.txt"
|
199 |
st.write("The Singularity is Near - Ray Kurzweil.txt")
|
200 |
-
st.markdown(f'<p style="color: #012d51;font-size:24px;border-radius:%;">{"
|
201 |
|
202 |
if st.button("Accept"):
|
203 |
global file_data
|
@@ -386,22 +386,22 @@ def object_detection():
|
|
386 |
|
387 |
if option == 'Cat and Dog' or option == '2 lazy cats chilling on a couch' or option == 'An astronaut riding wild horse':
|
388 |
st.write('You selected:', option)
|
389 |
-
st.markdown(f'<p style="color: #012d51;font-size:24px;border-radius:%;">{"
|
390 |
|
391 |
if option == 'Cat and Dog':
|
392 |
name = "cat_dog.jpg"
|
393 |
st.image("cat_dog.jpg")
|
394 |
-
st.markdown(f'<p style="color: #012d51;font-size:24px;border-radius:%;">{"
|
395 |
|
396 |
if option == '2 lazy cats chilling on a couch':
|
397 |
name = "cat_remote.jpg"
|
398 |
st.image("cat_remote.jpg")
|
399 |
-
st.markdown(f'<p style="color: #012d51;font-size:24px;border-radius:%;">{"
|
400 |
|
401 |
if option == 'An astronaut riding wild horse':
|
402 |
name = "astronaut_rides_horse.png"
|
403 |
st.image("astronaut_rides_horse.png")
|
404 |
-
st.markdown(f'<p style="color: #012d51;font-size:24px;border-radius:%;">{"
|
405 |
|
406 |
if st.button("Accept"):
|
407 |
# global file_data
|
|
|
187 |
if option == 'How to Win friends - Text': # add text
|
188 |
name = "How_to_win_friends.txt"
|
189 |
st.write("Selected file for analyis is: How_to_win_friends.txt")
|
190 |
+
st.markdown(f'<p style="color: #012d51;font-size:24px;border-radius:%;">{"Thank you for your patience. AI is generating 3 outputs to compare"}</p>', unsafe_allow_html=True)
|
191 |
|
192 |
if option == 'The Age of Intelligent Machines':
|
193 |
name = "The Age of Intelligent Machines.txt"
|
194 |
st.write("Selected file for analyis is: The Age of Intelligent Machines.txt")
|
195 |
+
st.markdown(f'<p style="color: #012d51;font-size:24px;border-radius:%;">{"Thank you for your patience. AI is generating 3 outputs to compare"}</p>', unsafe_allow_html=True)
|
196 |
|
197 |
if option == "The Singularity is Near - Ray Kurzweil.txt":
|
198 |
name = "The Singularity is Near - Ray Kurzweil.txt"
|
199 |
st.write("The Singularity is Near - Ray Kurzweil.txt")
|
200 |
+
st.markdown(f'<p style="color: #012d51;font-size:24px;border-radius:%;">{"Thank you for your patience. AI is generating 3 outputs to compare"}</p>', unsafe_allow_html=True)
|
201 |
|
202 |
if st.button("Accept"):
|
203 |
global file_data
|
|
|
386 |
|
387 |
if option == 'Cat and Dog' or option == '2 lazy cats chilling on a couch' or option == 'An astronaut riding wild horse':
|
388 |
st.write('You selected:', option)
|
389 |
+
st.markdown(f'<p style="color: #012d51;font-size:24px;border-radius:%;">{"Thank you for your patience. AI is generating 3 outputs to compare"}</p>', unsafe_allow_html=True)
|
390 |
|
391 |
if option == 'Cat and Dog':
|
392 |
name = "cat_dog.jpg"
|
393 |
st.image("cat_dog.jpg")
|
394 |
+
st.markdown(f'<p style="color: #012d51;font-size:24px;border-radius:%;">{"Thank you for your patience. AI is generating 3 outputs to compare"}</p>', unsafe_allow_html=True)
|
395 |
|
396 |
if option == '2 lazy cats chilling on a couch':
|
397 |
name = "cat_remote.jpg"
|
398 |
st.image("cat_remote.jpg")
|
399 |
+
st.markdown(f'<p style="color: #012d51;font-size:24px;border-radius:%;">{"Thank you for your patience. AI is generating 3 outputs to compare"}</p>', unsafe_allow_html=True)
|
400 |
|
401 |
if option == 'An astronaut riding wild horse':
|
402 |
name = "astronaut_rides_horse.png"
|
403 |
st.image("astronaut_rides_horse.png")
|
404 |
+
st.markdown(f'<p style="color: #012d51;font-size:24px;border-radius:%;">{"Thank you for your patience. AI is generating 3 outputs to compare"}</p>', unsafe_allow_html=True)
|
405 |
|
406 |
if st.button("Accept"):
|
407 |
# global file_data
|