Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,6 +74,7 @@ def predict(history, input):
|
|
| 74 |
global is_first_run # Use the global flag
|
| 75 |
if is_first_run:
|
| 76 |
context = get_full_context(input)
|
|
|
|
| 77 |
print(context) # For debugging
|
| 78 |
is_first_run = False # Set the flag to False after the first run
|
| 79 |
else:
|
|
|
|
| 74 |
global is_first_run # Use the global flag
|
| 75 |
if is_first_run:
|
| 76 |
context = get_full_context(input)
|
| 77 |
+
print(type(context))
|
| 78 |
print(context) # For debugging
|
| 79 |
is_first_run = False # Set the flag to False after the first run
|
| 80 |
else:
|