Update app.py
Browse files
app.py
CHANGED
@@ -129,23 +129,6 @@ app.add_middleware(
|
|
129 |
def generate(user_input, history=[]):
|
130 |
return text +" hhhmmm "
|
131 |
|
132 |
-
fe_app = gr.ChatInterface(
|
133 |
-
fn=generate,
|
134 |
-
#fn=simple,
|
135 |
-
# inputs=["text"],
|
136 |
-
# outputs="text",
|
137 |
-
title="Chat with Websites",
|
138 |
-
description="Schreibe hier deine Frage rein...",
|
139 |
-
#allow_flagging=False
|
140 |
-
retry_btn=None,
|
141 |
-
undo_btn=None,
|
142 |
-
clear_btn=None
|
143 |
-
)
|
144 |
-
|
145 |
-
#fe_app.launch(debug=True, share=True)
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
# load the model asynchronously on startup and save it into memory
|
150 |
@app.on_event("startup")
|
151 |
async def startup():
|
|
|
129 |
def generate(user_input, history=[]):
|
130 |
return text +" hhhmmm "
|
131 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
# load the model asynchronously on startup and save it into memory
|
133 |
@app.on_event("startup")
|
134 |
async def startup():
|