mgokg commited on
Commit
ffedb6c
·
verified ·
1 Parent(s): b2587ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -24,7 +24,7 @@ custom_css = """
24
 
25
  # Verwende die integrierten Embeddings von ChromaDB
26
  embedding_function = embedding_functions.DefaultEmbeddingFunction()
27
- #client = Client("Qwen/Qwen2.5-72B-Instruct")
28
 
29
 
30
  def update(message):
@@ -109,6 +109,7 @@ def ask_llm(llm_prompt_input):
109
  api_name="/model_chat"
110
  )
111
  result = result[1]
 
112
  result=gr.Markdown(result)
113
  return result
114
 
 
24
 
25
  # Verwende die integrierten Embeddings von ChromaDB
26
  embedding_function = embedding_functions.DefaultEmbeddingFunction()
27
+ client = Client("Qwen/Qwen2.5-72B-Instruct")
28
 
29
 
30
  def update(message):
 
109
  api_name="/model_chat"
110
  )
111
  result = result[1]
112
+ result = result[0][1]
113
  result=gr.Markdown(result)
114
  return result
115