Update app.py
Browse files
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 |
-
|
342 |
-
|
343 |
-
|
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 |
|