Spaces:
Runtime error
Runtime error
Commit
·
7c246c2
1
Parent(s):
fb458de
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,14 +42,14 @@ def idle_timer():
|
|
| 42 |
BUZZ_TIMEOUT = 60
|
| 43 |
|
| 44 |
|
| 45 |
-
def update_img():
|
| 46 |
-
global FUNC_CALL
|
| 47 |
-
FUNC_CALL += 1
|
| 48 |
|
| 49 |
#if FUNC_CALL % 2== 0:
|
| 50 |
-
|
| 51 |
#else:
|
| 52 |
-
|
| 53 |
|
| 54 |
|
| 55 |
def get_response(history, audio_input):
|
|
|
|
| 42 |
BUZZ_TIMEOUT = 60
|
| 43 |
|
| 44 |
|
| 45 |
+
#def update_img():
|
| 46 |
+
#global FUNC_CALL
|
| 47 |
+
#FUNC_CALL += 1
|
| 48 |
|
| 49 |
#if FUNC_CALL % 2== 0:
|
| 50 |
+
# return CHAR_TALKING_HTML
|
| 51 |
#else:
|
| 52 |
+
# return CHAR_THINKING_HTML
|
| 53 |
|
| 54 |
|
| 55 |
def get_response(history, audio_input):
|