Spaces:
Runtime error
Runtime error
Saugatkafley
commited on
st:spinner()
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@ import streamlit as st
|
|
3 |
from dotenv import load_dotenv
|
4 |
from Bard import Chatbot
|
5 |
import asyncio
|
|
|
|
|
6 |
|
7 |
loop = asyncio.new_event_loop()
|
8 |
asyncio.set_event_loop(loop)
|
@@ -72,7 +74,9 @@ def prompt_letter():
|
|
72 |
"I am passionate about...",
|
73 |
"solving problems at the intersection of technology and social good.",
|
74 |
)
|
75 |
-
# make
|
|
|
|
|
76 |
|
77 |
submit_button = st.form_submit_button(label="Submit")
|
78 |
|
|
|
3 |
from dotenv import load_dotenv
|
4 |
from Bard import Chatbot
|
5 |
import asyncio
|
6 |
+
import tqdm
|
7 |
+
import time
|
8 |
|
9 |
loop = asyncio.new_event_loop()
|
10 |
asyncio.set_event_loop(loop)
|
|
|
74 |
"I am passionate about...",
|
75 |
"solving problems at the intersection of technology and social good.",
|
76 |
)
|
77 |
+
# make progress bar using stremalit
|
78 |
+
with st.spinner("Please wait..."):
|
79 |
+
time.sleep(1)
|
80 |
|
81 |
submit_button = st.form_submit_button(label="Submit")
|
82 |
|