Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -47,6 +47,7 @@ def respond(
|
|
47 |
For information on how to customize the ChatInterface,
|
48 |
peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
49 |
"""
|
|
|
50 |
demo = gr.ChatInterface(
|
51 |
respond,
|
52 |
additional_inputs=[
|
@@ -62,6 +63,10 @@ demo = gr.ChatInterface(
|
|
62 |
),
|
63 |
],
|
64 |
)
|
|
|
|
|
|
|
|
|
65 |
|
66 |
def show_components():
|
67 |
return [
|
|
|
47 |
For information on how to customize the ChatInterface,
|
48 |
peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
49 |
"""
|
50 |
+
"""
|
51 |
demo = gr.ChatInterface(
|
52 |
respond,
|
53 |
additional_inputs=[
|
|
|
63 |
),
|
64 |
],
|
65 |
)
|
66 |
+
"""
|
67 |
+
|
68 |
+
with gr.Blocks() as demo:
|
69 |
+
show_components()
|
70 |
|
71 |
def show_components():
|
72 |
return [
|