Update app.py
Browse files
app.py
CHANGED
|
@@ -257,7 +257,7 @@ def generate_prompt_with_history_langchain(prompt, history):
|
|
| 257 |
|
| 258 |
###################################################
|
| 259 |
#Funktion von Gradio aus, die den dort eingegebenen Prompt annimmt und weiterverarbeitet
|
| 260 |
-
def invoke (prompt, history,
|
| 261 |
global splittet
|
| 262 |
print(splittet)
|
| 263 |
#Prompt an history anhängen und einen Text daraus machen
|
|
|
|
| 257 |
|
| 258 |
###################################################
|
| 259 |
#Funktion von Gradio aus, die den dort eingegebenen Prompt annimmt und weiterverarbeitet
|
| 260 |
+
def invoke (prompt, history, rag_option, openai_api_key, temperature=0.9, max_new_tokens=512, top_p=0.6, repetition_penalty=1.3,):
|
| 261 |
global splittet
|
| 262 |
print(splittet)
|
| 263 |
#Prompt an history anhängen und einen Text daraus machen
|