bhuvanmdev commited on
Commit
b8ffc5a
·
verified ·
1 Parent(s): a9705c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -220,7 +220,7 @@ Context:
220
  # )
221
  # )
222
 
223
- return client.chat.completions.create(
224
  model=model_name,
225
  messages=messages,
226
  max_tokens=500,
@@ -347,7 +347,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
347
  # ),
348
  # ],
349
  # )
350
- rag_system = AdvancedRAGSystem(embed_model, llm)
351
  demo = create_gradio_interface(rag_system)
352
 
353
 
 
220
  # )
221
  # )
222
 
223
+ return self.llm.chat.completions.create(
224
  model=model_name,
225
  messages=messages,
226
  max_tokens=500,
 
347
  # ),
348
  # ],
349
  # )
350
+ rag_system = AdvancedRAGSystem(embed_model, client)
351
  demo = create_gradio_interface(rag_system)
352
 
353