Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def generate(
|
|
74 |
yield "".join(outputs)
|
75 |
|
76 |
|
77 |
-
|
78 |
fn=generate,
|
79 |
additional_inputs=[
|
80 |
gr.Slider(
|
@@ -123,11 +123,11 @@ chat_interface = gr.ChatInterface(
|
|
123 |
],
|
124 |
cache_examples=False,
|
125 |
type="messages",
|
|
|
|
|
|
|
126 |
)
|
127 |
|
128 |
-
with gr.Blocks(css_paths="style.css", fill_height=True) as demo:
|
129 |
-
gr.Markdown(DESCRIPTION)
|
130 |
-
chat_interface.render()
|
131 |
|
132 |
if __name__ == "__main__":
|
133 |
demo.queue(max_size=20).launch()
|
|
|
74 |
yield "".join(outputs)
|
75 |
|
76 |
|
77 |
+
demo = gr.ChatInterface(
|
78 |
fn=generate,
|
79 |
additional_inputs=[
|
80 |
gr.Slider(
|
|
|
123 |
],
|
124 |
cache_examples=False,
|
125 |
type="messages",
|
126 |
+
description=DESCRIPTION,
|
127 |
+
css_paths="style.css",
|
128 |
+
fill_height=True,
|
129 |
)
|
130 |
|
|
|
|
|
|
|
131 |
|
132 |
if __name__ == "__main__":
|
133 |
demo.queue(max_size=20).launch()
|