HemaMeena commited on
Commit
268691c
·
verified ·
1 Parent(s): a587131

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -330,6 +330,7 @@ print(llm_ans(query))
330
 
331
  """Gradio Chat UI (Inspired from HinePo)"""
332
 
 
333
  import locale
334
  locale.getpreferredencoding = lambda: "UTF-8"
335
 
@@ -342,8 +343,7 @@ 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
 
348
- import gradio as gr
349
- print(gr.__version__)
 
330
 
331
  """Gradio Chat UI (Inspired from HinePo)"""
332
 
333
+ import gradio as gr
334
  import locale
335
  locale.getpreferredencoding = lambda: "UTF-8"
336
 
 
343
  fn=predict,
344
  title=f'Open-Source LLM ({CFG["model_name"]}) Question Answering'
345
  )
346
+ demo.queue()
347
+ demo.launch()
348
+
349