Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,6 +41,7 @@ def infer(prompt):
|
|
| 41 |
words = is_safe.split()
|
| 42 |
# Take the first word and convert it to a string variable
|
| 43 |
status = str(words[0])
|
|
|
|
| 44 |
if status == "Yes" :
|
| 45 |
raise gr.Error("Don't ask for such things.")
|
| 46 |
else:
|
|
|
|
| 41 |
words = is_safe.split()
|
| 42 |
# Take the first word and convert it to a string variable
|
| 43 |
status = str(words[0])
|
| 44 |
+
print(f"FIRST WORD:{status}")
|
| 45 |
if status == "Yes" :
|
| 46 |
raise gr.Error("Don't ask for such things.")
|
| 47 |
else:
|