eternalBlissard commited on
Commit
98a68f3
·
verified ·
1 Parent(s): 376961e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -82,7 +82,8 @@ def respond(
82
  temperature,
83
  top_p,
84
  ):
85
- if(val==None):
 
86
  subtitles = outputProducer(system_message)
87
  val = subtitle_it(subtitle_it)
88
  messages = [{"role": "system", "content": "Answer by using the transcript"+val}]
 
82
  temperature,
83
  top_p,
84
  ):
85
+ global val
86
+ if (val is None):
87
  subtitles = outputProducer(system_message)
88
  val = subtitle_it(subtitle_it)
89
  messages = [{"role": "system", "content": "Answer by using the transcript"+val}]