ShenghaoYummy commited on
Commit
8512311
·
1 Parent(s): 086ed8e

fix type bug

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -48,6 +48,7 @@ demo = gr.ChatInterface(
48
  fn=generate,
49
  title="TinyLlama-1.1B Chat API",
50
  description="Chat with TinyLlama-1.1B and call via /api/predict",
 
51
  )
52
 
53
  # 4) launch
 
48
  fn=generate,
49
  title="TinyLlama-1.1B Chat API",
50
  description="Chat with TinyLlama-1.1B and call via /api/predict",
51
+ type="messages",
52
  )
53
 
54
  # 4) launch