Spaces:
Runtime error
Runtime error
Commit ·
21537e2
1
Parent(s): a076467
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,7 @@ from urllib.parse import urlparse
|
|
| 7 |
from sklearn.metrics import confusion_matrix, accuracy_score
|
| 8 |
import torch.nn.functional as F
|
| 9 |
import gradio as gr
|
|
|
|
| 10 |
|
| 11 |
def check_by_url(txt_url):
|
| 12 |
#txt_url = "https://www.c-sharpcorner.com/article/how-to-add-multimedia-content-with-html/default.txt"
|
|
|
|
| 7 |
from sklearn.metrics import confusion_matrix, accuracy_score
|
| 8 |
import torch.nn.functional as F
|
| 9 |
import gradio as gr
|
| 10 |
+
import torch
|
| 11 |
|
| 12 |
def check_by_url(txt_url):
|
| 13 |
#txt_url = "https://www.c-sharpcorner.com/article/how-to-add-multimedia-content-with-html/default.txt"
|