kingabzpro commited on
Commit
bc7e1a6
·
1 Parent(s): ae9c57d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -37,5 +37,13 @@ def predict(input, history=[]):
37
 
38
  return response, history
39
 
40
- gr.Interface(fn= predict,inputs = "textbox", outputs = "chatbot", theme ="grass", title = title, flagging_callback=hf_writer,description = description, article = article).launch(enable_queue=True) # customizes the input component
 
 
 
 
 
 
 
 
41
 
 
37
 
38
  return response, history
39
 
40
+ gr.Interface(fn= predict,
41
+ css=".footer {display:none !important}",
42
+ inputs=["text", "state"],
43
+ outputs=["text", "state"],
44
+ theme ="grass",
45
+ title = title,
46
+ flagging_callback=hf_writer,
47
+ description = description,
48
+ article = article).launch(enable_queue=True) # customizes the input component
49