Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,6 +33,7 @@ messages = [
|
|
33 |
|
34 |
def chatbot(input1,input2):
|
35 |
if input1:
|
|
|
36 |
input = transcribe(input)
|
37 |
messages.append({"role": "user", "content": input})
|
38 |
if sentiment(input) == 'negative':
|
|
|
33 |
|
34 |
def chatbot(input1,input2):
|
35 |
if input1:
|
36 |
+
input =input1
|
37 |
input = transcribe(input)
|
38 |
messages.append({"role": "user", "content": input})
|
39 |
if sentiment(input) == 'negative':
|