shoom013 commited on
Commit
48ffc53
·
verified ·
1 Parent(s): e7091c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -125,6 +125,7 @@ def rag(input_text, history, jezik, file):
125
  return history.append(
126
  ChatMessage(role="assistant",
127
  content=query_engine.query(input_text)
 
128
  )
129
  # collection.add(
130
  # documents=documents,
@@ -155,6 +156,7 @@ def rag(input_text, history, jezik, file):
155
  return history.append(
156
  ChatMessage(role="assistant",
157
  content=chat_engine.chat(input_text)}
 
158
  )
159
  # Interface
160
  # gr.Textbox(label="Pitanje:", lines=6),
 
125
  return history.append(
126
  ChatMessage(role="assistant",
127
  content=query_engine.query(input_text)
128
+ )
129
  )
130
  # collection.add(
131
  # documents=documents,
 
156
  return history.append(
157
  ChatMessage(role="assistant",
158
  content=chat_engine.chat(input_text)}
159
+ )
160
  )
161
  # Interface
162
  # gr.Textbox(label="Pitanje:", lines=6),