Spaces:
Running
Running
seawolf2357
commited on
Commit
•
0a1cdd9
1
Parent(s):
528ea72
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,13 @@ def respond_with_prefix(message, history, max_tokens=10000, temperature=0.7, top
|
|
81 |
print(f"Failed to decode JSON: {e}")
|
82 |
yield "An error occurred while processing your request."
|
83 |
|
84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
fn=respond_with_prefix,
|
86 |
additional_inputs=[
|
87 |
gr.Slider(minimum=1, maximum=120000, value=4000, label="Max Tokens"),
|
|
|
81 |
print(f"Failed to decode JSON: {e}")
|
82 |
yield "An error occurred while processing your request."
|
83 |
|
84 |
+
css = """
|
85 |
+
footer {
|
86 |
+
visibility: hidden;
|
87 |
+
}
|
88 |
+
"""
|
89 |
+
|
90 |
+
demo = gr.ChatInterface(css=css,
|
91 |
fn=respond_with_prefix,
|
92 |
additional_inputs=[
|
93 |
gr.Slider(minimum=1, maximum=120000, value=4000, label="Max Tokens"),
|