Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -79,6 +79,8 @@ def generate(
|
|
79 |
|
80 |
# ... (前面的代码保持不变)
|
81 |
|
|
|
|
|
82 |
chat_interface = gr.ChatInterface(
|
83 |
fn=generate,
|
84 |
additional_inputs=[
|
@@ -133,7 +135,7 @@ chat_interface = gr.ChatInterface(
|
|
133 |
with gr.Blocks(css="style.css") as demo:
|
134 |
gr.Markdown(DESCRIPTION)
|
135 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
136 |
-
with gr.
|
137 |
chat_interface.render()
|
138 |
gr.Markdown(LICENSE)
|
139 |
|
|
|
79 |
|
80 |
# ... (前面的代码保持不变)
|
81 |
|
82 |
+
# ... (前面的代码保持不变)
|
83 |
+
|
84 |
chat_interface = gr.ChatInterface(
|
85 |
fn=generate,
|
86 |
additional_inputs=[
|
|
|
135 |
with gr.Blocks(css="style.css") as demo:
|
136 |
gr.Markdown(DESCRIPTION)
|
137 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
138 |
+
with gr.Column(elem_classes="chatbox-container"):
|
139 |
chat_interface.render()
|
140 |
gr.Markdown(LICENSE)
|
141 |
|