Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,6 @@ import random
|
|
3 |
import time
|
4 |
import git
|
5 |
import os
|
6 |
-
from util import clone_repo
|
7 |
-
from util import generate_assistant_response
|
8 |
from google.api_core.exceptions import InternalServerError
|
9 |
|
10 |
flag = False
|
@@ -30,9 +28,10 @@ if btn and not flag:
|
|
30 |
# for word in response.split():
|
31 |
# yield word + " "
|
32 |
# time.sleep(0.05)
|
|
|
|
|
33 |
|
34 |
-
|
35 |
-
st.title("Simple chat")
|
36 |
|
37 |
# Initialize chat history
|
38 |
if "messages" not in st.session_state:
|
|
|
3 |
import time
|
4 |
import git
|
5 |
import os
|
|
|
|
|
6 |
from google.api_core.exceptions import InternalServerError
|
7 |
|
8 |
flag = False
|
|
|
28 |
# for word in response.split():
|
29 |
# yield word + " "
|
30 |
# time.sleep(0.05)
|
31 |
+
from util import clone_repo
|
32 |
+
from util import generate_assistant_response
|
33 |
|
34 |
+
st.title("Nile")
|
|
|
35 |
|
36 |
# Initialize chat history
|
37 |
if "messages" not in st.session_state:
|