akhaliq HF staff commited on
Commit
02c8f8f
·
verified ·
1 Parent(s): d481bc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ with gr.Blocks() as demo:
26
  # Create columns for each model
27
  with gr.Column(visible=True) as llama_column:
28
  gr.ChatInterface(
29
- fn=lambda message, history: llama_demo.fn(message)["generated_text"],
30
  title="Llama 3.1 Tulu",
31
  description="A chat interface for the Llama 3.1 Tulu model"
32
  )
 
26
  # Create columns for each model
27
  with gr.Column(visible=True) as llama_column:
28
  gr.ChatInterface(
29
+ fn=lambda message, history: next(llama_demo.fn(message)),
30
  title="Llama 3.1 Tulu",
31
  description="A chat interface for the Llama 3.1 Tulu model"
32
  )