FINGU-AI commited on
Commit
ad37ab1
Β·
verified Β·
1 Parent(s): 80c5d23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -98,8 +98,8 @@ examples = ["Translate ko to en: \n\n 은행원: μ•ˆλ…•ν•˜μ„Έμš”! BNKμ€ν–‰μž…
98
 
99
  def response(message, history):
100
  text = inference(message)
101
- # return text
102
- for i in range(len(text)):
103
- time.sleep(0.0001)
104
- yield text[: i + 1]
105
  gr.ChatInterface(response,examples=examples).launch()
 
98
 
99
  def response(message, history):
100
  text = inference(message)
101
+ return text
102
+ # for i in range(len(text)):
103
+ # time.sleep(0.0001)
104
+ # yield text[: i + 1]
105
  gr.ChatInterface(response,examples=examples).launch()