Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -722,7 +722,7 @@ gbc = GradientBoostingClassifier(max_depth=4,learning_rate=0.7)
|
|
| 722 |
gbc.fit(X_train,y_train)
|
| 723 |
|
| 724 |
import gradio as gr
|
| 725 |
-
url = gr.
|
| 726 |
#can provide any URL. this URL was taken from PhishTank
|
| 727 |
obj = FeatureExtraction(url)
|
| 728 |
x = np.array(obj.getFeaturesList()).reshape(1,30)
|
|
|
|
| 722 |
gbc.fit(X_train,y_train)
|
| 723 |
|
| 724 |
import gradio as gr
|
| 725 |
+
url = gr.inputs.Textbox(lines=1, placeholder="Enter the URL here")
|
| 726 |
#can provide any URL. this URL was taken from PhishTank
|
| 727 |
obj = FeatureExtraction(url)
|
| 728 |
x = np.array(obj.getFeaturesList()).reshape(1,30)
|