seawolf2357 commited on
Commit
ea1ae77
1 Parent(s): 7c48783

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -31,13 +31,9 @@ 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
- 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"),
 
31
  print(f"Failed to decode JSON: {e}")
32
  yield "An error occurred while processing your request."
33
 
 
 
 
 
 
34
 
35
+
36
+ demo = gr.ChatInterface(
37
  fn=respond,
38
  additional_inputs=[
39
  gr.Slider(minimum=1, maximum=2048, value=512, label="Max Tokens"),