Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -308,7 +308,7 @@ for url in links:
|
|
308 |
def simple(text:str):
|
309 |
return text +" hhhmmm "
|
310 |
|
311 |
-
app = gr.
|
312 |
fn=get_response,
|
313 |
#fn=simple,
|
314 |
# inputs=["text"],
|
@@ -320,7 +320,7 @@ app = gr.Chat(
|
|
320 |
undo_btn=None,
|
321 |
clear_btn=None,
|
322 |
#bubble_full_width=False,
|
323 |
-
avatar_images=(None, (os.path.join(os.path.abspath(''), "avatar.png"))),
|
324 |
)
|
325 |
|
326 |
app.launch(debug=True, share=True)
|
|
|
308 |
def simple(text:str):
|
309 |
return text +" hhhmmm "
|
310 |
|
311 |
+
app = gr.ChatInterface(
|
312 |
fn=get_response,
|
313 |
#fn=simple,
|
314 |
# inputs=["text"],
|
|
|
320 |
undo_btn=None,
|
321 |
clear_btn=None,
|
322 |
#bubble_full_width=False,
|
323 |
+
#avatar_images=(None, (os.path.join(os.path.abspath(''), "avatar.png"))),
|
324 |
)
|
325 |
|
326 |
app.launch(debug=True, share=True)
|