Update app.py
Browse files
app.py
CHANGED
|
@@ -447,6 +447,7 @@ def invoke (prompt, file, history, rag_option, model_option, openai_api_key, k=3
|
|
| 447 |
return history, "Stop: Success"
|
| 448 |
except:
|
| 449 |
pass
|
|
|
|
| 450 |
else:
|
| 451 |
#Antwort als Stream ausgeben... wenn Textantwort gefordert
|
| 452 |
print("history vor Zusatz...........")
|
|
@@ -463,7 +464,7 @@ def invoke (prompt, file, history, rag_option, model_option, openai_api_key, k=3
|
|
| 463 |
return
|
| 464 |
except:
|
| 465 |
pass
|
| 466 |
-
|
| 467 |
################################################
|
| 468 |
#GUI
|
| 469 |
###############################################
|
|
|
|
| 447 |
return history, "Stop: Success"
|
| 448 |
except:
|
| 449 |
pass
|
| 450 |
+
"""
|
| 451 |
else:
|
| 452 |
#Antwort als Stream ausgeben... wenn Textantwort gefordert
|
| 453 |
print("history vor Zusatz...........")
|
|
|
|
| 464 |
return
|
| 465 |
except:
|
| 466 |
pass
|
| 467 |
+
"""
|
| 468 |
################################################
|
| 469 |
#GUI
|
| 470 |
###############################################
|