deathsaber93 commited on
Commit
a17547d
·
verified ·
1 Parent(s): a13297b

Update app.py

Browse files

let's see what the inputs are

Files changed (1) hide show
  1. app.py +10 -3
app.py CHANGED
@@ -3,20 +3,27 @@ from multiprocessing import cpu_count
3
 
4
  from keras.src.saving import load_model
5
  import pandas as pd
 
6
  from numpy import int64
7
  from pandarallel import pandarallel
8
  from sklearn.preprocessing import RobustScaler
9
  import gradio as gr
10
- from huggingface_hub import InferenceClient
 
 
11
 
12
 
13
  def respond(
14
- message
 
 
15
  ):
16
  print(message)
 
 
17
  return is_malicious_sql(message, 0.5)
18
 
19
-
20
 
21
  """
22
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
 
3
 
4
  from keras.src.saving import load_model
5
  import pandas as pd
6
+ from keras.src.utils import set_random_seed
7
  from numpy import int64
8
  from pandarallel import pandarallel
9
  from sklearn.preprocessing import RobustScaler
10
  import gradio as gr
11
+
12
+
13
+ set_random_seed(65536)
14
 
15
 
16
  def respond(
17
+ message,
18
+ message1,
19
+ message2
20
  ):
21
  print(message)
22
+ print(message1)
23
+ print(message2)
24
  return is_malicious_sql(message, 0.5)
25
 
26
+
27
 
28
  """
29
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface