Spaces:
Runtime error
Runtime error
πwπ
Browse files
app.py
CHANGED
@@ -116,21 +116,19 @@ If you want to support my work please click on the heart react button β€οΈπ€
|
|
116 |
"""
|
117 |
|
118 |
|
119 |
-
|
120 |
-
|
121 |
-
gr.
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
)
|
135 |
-
|
136 |
demo.launch(debug=True)
|
|
|
116 |
"""
|
117 |
|
118 |
|
119 |
+
demo = gr.ChatInterface(
|
120 |
+
fn=talk,
|
121 |
+
chatbot=gr.Chatbot(
|
122 |
+
show_label=True,
|
123 |
+
show_share_button=True,
|
124 |
+
show_copy_button=True,
|
125 |
+
likeable=True,
|
126 |
+
layout="bubble",
|
127 |
+
bubble_full_width=False,
|
128 |
+
),
|
129 |
+
theme="Soft",
|
130 |
+
examples=[["what is machine learning"]],
|
131 |
+
title=TITLE,
|
132 |
+
description=DESCRIPTION,
|
133 |
+
)
|
|
|
|
|
134 |
demo.launch(debug=True)
|