ProPerNounpYK commited on
Commit
f424f53
·
verified ·
1 Parent(s): 4bc0d9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -40,7 +40,9 @@ except Exception as e:
40
 
41
  def getanswer(question):
42
  matchinganswer = df[df['instruction'] == question]['responsea'].values
43
- return matchinganswer[0] if len(matchinganswer) 0 else None
 
 
44
 
45
  def respond(
46
  message,
 
40
 
41
  def getanswer(question):
42
  matchinganswer = df[df['instruction'] == question]['responsea'].values
43
+ return matchinganswer[0]
44
+ if len(matchinganswer) 0
45
+ else None
46
 
47
  def respond(
48
  message,