CineAI commited on
Commit
66a2c12
1 Parent(s): cf08317

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -24,6 +24,7 @@ chat = Conversation()
24
  t2a = T2A()
25
  vlm = VLM()
26
  ic = ImageCaption()
 
27
 
28
  def remove_labels_with_regex(text: str):
29
  pattern = r'^(Human:|AI:|Chelsea:)\s*'
@@ -94,6 +95,8 @@ def speaking(text):
94
  def main():
95
  text = get_text()
96
  print(f"Print text: s{text}s")
 
 
97
  speaking(text)
98
  print(f"Checking for execution main func {random.randint(0, 10)}")
99
 
 
24
  t2a = T2A()
25
  vlm = VLM()
26
  ic = ImageCaption()
27
+ layer_text = ""
28
 
29
  def remove_labels_with_regex(text: str):
30
  pattern = r'^(Human:|AI:|Chelsea:)\s*'
 
95
  def main():
96
  text = get_text()
97
  print(f"Print text: s{text}s")
98
+ layer_text = text
99
+ print(f"Print text: s{layer_text}s")
100
  speaking(text)
101
  print(f"Checking for execution main func {random.randint(0, 10)}")
102