Spaces:
Runtime error
Runtime error
Michael Instructor commited on
Commit ·
bcd82f0
1
Parent(s): b384d6f
Fourt commit direct to Huggingh Face
Browse files
app.py
CHANGED
|
@@ -42,7 +42,9 @@ def app_inits():
|
|
| 42 |
|
| 43 |
# https://bumk766fall2023-chatbot.hf.space/?dw=0.02&dl=0.0001&ds=1
|
| 44 |
# print("CALL URL: http://127.0.0.1:7860/?dw=0.02&dl=0.0001")
|
| 45 |
-
|
|
|
|
|
|
|
| 46 |
|
| 47 |
return
|
| 48 |
|
|
@@ -87,9 +89,10 @@ with gr.Blocks(theme = theme) as demo:
|
|
| 87 |
def bot( history, url_params):
|
| 88 |
|
| 89 |
global qs
|
| 90 |
-
|
|
|
|
| 91 |
DelayBetweenLetters = 0.0001
|
| 92 |
-
DelayBetweenSentences = .
|
| 93 |
|
| 94 |
#time.sleep(.02)
|
| 95 |
print("---------- url_params ------------ ")
|
|
|
|
| 42 |
|
| 43 |
# https://bumk766fall2023-chatbot.hf.space/?dw=0.02&dl=0.0001&ds=1
|
| 44 |
# print("CALL URL: http://127.0.0.1:7860/?dw=0.02&dl=0.0001")
|
| 45 |
+
# https://bumk766fall2023-chatbot.hf.space/?dw=0.02&dl=0.0001&ds=0.4
|
| 46 |
+
|
| 47 |
+
print("CALL URL: http://127.0.0.1:7860/?dw=0.02&dl=0.0001&ds=0.4")
|
| 48 |
|
| 49 |
return
|
| 50 |
|
|
|
|
| 89 |
def bot( history, url_params):
|
| 90 |
|
| 91 |
global qs
|
| 92 |
+
|
| 93 |
+
DelayBetweenWords = 0.7
|
| 94 |
DelayBetweenLetters = 0.0001
|
| 95 |
+
DelayBetweenSentences = .6
|
| 96 |
|
| 97 |
#time.sleep(.02)
|
| 98 |
print("---------- url_params ------------ ")
|