gamza commited on
Commit
c3fad0b
β€’
1 Parent(s): 04b542d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -7,8 +7,7 @@ import pandas as pd
7
  from utils import test_sentences
8
 
9
 
10
- # λͺ¨λΈμ„ 뢈러올 λ•Œ map_location=torch.device('cpu')둜 μ„€μ •ν•˜μ—¬ CPU에 λ‘œλ“œν•©λ‹ˆλ‹€.
11
- model = torch.load('bert_classification(0.87).pt', map_location=torch.device('cpu'))
12
 
13
 
14
  # Gradio μΈν„°νŽ˜μ΄μŠ€μ—μ„œ μ‚¬μš©ν•  ν•¨μˆ˜ μ •μ˜
 
7
  from utils import test_sentences
8
 
9
 
10
+ model = torch.load('bert_classification(0.87).pt')
 
11
 
12
 
13
  # Gradio μΈν„°νŽ˜μ΄μŠ€μ—μ„œ μ‚¬μš©ν•  ν•¨μˆ˜ μ •μ˜