Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,14 @@ def respond_with_prefix(message, history, max_tokens=10000, temperature=0.7, top
|
|
119 |
print(f"Failed to decode JSON: {e}")
|
120 |
yield "An error occurred while processing your request."
|
121 |
|
122 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
fn=respond_with_prefix,
|
124 |
additional_inputs=[
|
125 |
gr.Slider(minimum=1, maximum=120000, value=4000, label="Max Tokens"),
|
|
|
119 |
print(f"Failed to decode JSON: {e}")
|
120 |
yield "An error occurred while processing your request."
|
121 |
|
122 |
+
css = """
|
123 |
+
footer {
|
124 |
+
visibility: hidden;
|
125 |
+
}
|
126 |
+
"""
|
127 |
+
|
128 |
+
demo = gr.ChatInterface(css=css,
|
129 |
+
|
130 |
fn=respond_with_prefix,
|
131 |
additional_inputs=[
|
132 |
gr.Slider(minimum=1, maximum=120000, value=4000, label="Max Tokens"),
|