Spaces:
Runtime error
Runtime error
small fixes
Browse files
app.py
CHANGED
@@ -259,7 +259,8 @@ def process_summary_with_openai(summary):
|
|
259 |
|
260 |
def process_and_query(input_language=None,audio_input=None,image_input=None,text_input=None):
|
261 |
try:
|
262 |
-
|
|
|
263 |
# augment the prompt before feeding it to vectara
|
264 |
text = "the user asks the following to his health adviser " + text
|
265 |
# process audio
|
|
|
259 |
|
260 |
def process_and_query(input_language=None,audio_input=None,image_input=None,text_input=None):
|
261 |
try:
|
262 |
+
text = ""
|
263 |
+
if text_input is not None :
|
264 |
# augment the prompt before feeding it to vectara
|
265 |
text = "the user asks the following to his health adviser " + text
|
266 |
# process audio
|