HemaMeena commited on
Commit
a587131
·
verified ·
1 Parent(s): 06267a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -338,11 +338,10 @@ def predict(message, history):
338
  output = str(llm_ans(message)).replace("\n", "<br/>")
339
  return output
340
 
341
- demo = gr.ChatInterface(
342
- predict,
343
- title = f' Open-Source LLM ({CFG.model_name}) Question Answering'
344
- )
345
-
346
  demo.queue()
347
  demo.launch()
348
 
 
338
  output = str(llm_ans(message)).replace("\n", "<br/>")
339
  return output
340
 
341
+ demo = gr.ChatInterface(
342
+ fn=predict,
343
+ title=f'Open-Source LLM ({CFG["model_name"]}) Question Answering'
344
+ )
 
345
  demo.queue()
346
  demo.launch()
347