seawolf2357 commited on
Commit
fb6683e
·
verified ·
1 Parent(s): 399a1ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -31,7 +31,13 @@ def respond(message, history, max_tokens=512, temperature=0.7, top_p=0.95):
31
  print(f"Failed to decode JSON: {e}")
32
  yield "An error occurred while processing your request."
33
 
34
- demo = gr.ChatInterface(
 
 
 
 
 
 
35
  fn=respond,
36
  additional_inputs=[
37
  gr.Slider(minimum=1, maximum=2048, value=512, label="Max Tokens"),
 
31
  print(f"Failed to decode JSON: {e}")
32
  yield "An error occurred while processing your request."
33
 
34
+ css = """
35
+ footer {
36
+ visibility: hidden;
37
+ }
38
+ """
39
+
40
+ demo = gr.ChatInterface(css=css,
41
  fn=respond,
42
  additional_inputs=[
43
  gr.Slider(minimum=1, maximum=2048, value=512, label="Max Tokens"),