Ronoh4 commited on
Commit
ae71491
·
1 Parent(s): 752f151

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -159,7 +159,7 @@ def query_model_with_context(question):
159
  # Directly assign if it's a string
160
  response_text = completion
161
  else:
162
- # Fallback for unexpected types, convert to string
163
  response_text = str(completion)
164
 
165
  response_text = response_text.replace("assistant:", "Final Response:").strip()
 
159
  # Directly assign if it's a string
160
  response_text = completion
161
  else:
162
+ # Fallback in case of unexpected types, convert to string
163
  response_text = str(completion)
164
 
165
  response_text = response_text.replace("assistant:", "Final Response:").strip()