Spaces:
Runtime error
Runtime error
Commit
·
23182d5
1
Parent(s):
11954cc
Minor change
Browse files- conversation.py +8 -8
conversation.py
CHANGED
@@ -230,15 +230,15 @@ def run(input_):
|
|
230 |
|
231 |
return output_text
|
232 |
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
|
243 |
|
244 |
|
|
|
230 |
|
231 |
return output_text
|
232 |
|
233 |
+
def make_conversation(message, history):
|
234 |
+
text_ = run(message)
|
235 |
+
for i in range(len(text_)):
|
236 |
+
time.sleep(0.001)
|
237 |
+
yield text_[: i+1]
|
238 |
|
239 |
+
def auth_function(username, password):
|
240 |
+
user_name = username
|
241 |
+
return username == password
|
242 |
|
243 |
|
244 |
|