Spaces:
Runtime error
Runtime error
DiamondYin
commited on
Commit
•
b29eb38
1
Parent(s):
8d0b1b5
Update app.py
Browse files
app.py
CHANGED
@@ -81,8 +81,8 @@ def get_response(history, audio_input):
|
|
81 |
message1 =[{"role": "user", "content": question}]
|
82 |
message1 = MESSAGES + message1
|
83 |
|
84 |
-
answer = conv_model.run(
|
85 |
-
|
86 |
#answer1 = str(answer)
|
87 |
LOGGER.info("\ndocument_response: %s", answer)
|
88 |
print('\ndocument_response:', answer)
|
|
|
81 |
message1 =[{"role": "user", "content": question}]
|
82 |
message1 = MESSAGES + message1
|
83 |
|
84 |
+
#answer = conv_model.run(question)
|
85 |
+
answer = SparkApi_jayce.create(f"{question},As a hotel attendant, I am checking in. You introduce the hotel to me and recommend hotel services to me. ")
|
86 |
#answer1 = str(answer)
|
87 |
LOGGER.info("\ndocument_response: %s", answer)
|
88 |
print('\ndocument_response:', answer)
|