Yurii Paniv commited on
Commit
0eb8092
1 Parent(s): 8545c8c

Add visibility

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -77,6 +77,7 @@ tokenizer = AutoTokenizer.from_pretrained(
77
 
78
  @spaces.GPU(duration=30)
79
  def translate(input_text):
 
80
  # generated_text = ""
81
  input_text = input_text.strip()
82
  print(f"{datetime.utcnow()} | Translating: {input_text}")
 
77
 
78
  @spaces.GPU(duration=30)
79
  def translate(input_text):
80
+ global log_queue
81
  # generated_text = ""
82
  input_text = input_text.strip()
83
  print(f"{datetime.utcnow()} | Translating: {input_text}")