Spaces:
Sleeping
Sleeping
Komal-patra
commited on
Commit
•
7a481d3
1
Parent(s):
b0e417e
update
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ with gr.Blocks(css=custom_css) as demo:
|
|
106 |
# Function to handle bot response
|
107 |
def bot(history):
|
108 |
if len(history) == 1: # Check if it's the first interaction
|
109 |
-
bot_message = "
|
110 |
history[-1][1] = bot_message # Add welcome message to history
|
111 |
else:
|
112 |
history[-1][1] = "" # Clear the last bot message
|
|
|
106 |
# Function to handle bot response
|
107 |
def bot(history):
|
108 |
if len(history) == 1: # Check if it's the first interaction
|
109 |
+
bot_message = "Hello! I'm here to help you with any questions about the EU AI Act. What would you like to know?"
|
110 |
history[-1][1] = bot_message # Add welcome message to history
|
111 |
else:
|
112 |
history[-1][1] = "" # Clear the last bot message
|