Spaces:
Sleeping
Sleeping
ehristoforu
commited on
Commit
•
e95e8e1
1
Parent(s):
ea649ef
Update app.py
Browse files
app.py
CHANGED
@@ -81,20 +81,9 @@ additional_inputs=[
|
|
81 |
)
|
82 |
]
|
83 |
|
84 |
-
css = """
|
85 |
-
#mkd {
|
86 |
-
height: 500px;
|
87 |
-
overflow: auto;
|
88 |
-
border: 1px solid #ccc;
|
89 |
-
}
|
90 |
-
"""
|
91 |
|
92 |
-
|
93 |
-
|
94 |
-
gr.
|
95 |
-
|
96 |
-
|
97 |
-
additional_inputs=additional_inputs
|
98 |
-
)
|
99 |
-
|
100 |
-
demo.launch(debug=True, show_api=False)
|
|
|
81 |
)
|
82 |
]
|
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
+
gr.ChatInterface(
|
86 |
+
fn=generate,
|
87 |
+
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
88 |
+
additional_inputs=additional_inputs
|
89 |
+
).launch(show_api=False)
|
|
|
|
|
|
|
|