Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,10 @@ from setfit import SetFitModel
|
|
| 6 |
def greet(name):
|
| 7 |
return "Hello " + name + "!!"
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
model = SetFitModel.from_pretrained("AISE-TUDelft/java-ownership-classifier",
|
| 10 |
device='cpu', #Use this if you don't have a GPU
|
| 11 |
use_auth_token=os.environ.get('sec_tok'))
|
|
|
|
| 6 |
def greet(name):
|
| 7 |
return "Hello " + name + "!!"
|
| 8 |
|
| 9 |
+
print('@@@@@@@@@@@@@@@@@@@@@@@@@@')
|
| 10 |
+
print(s.environ.get('sec_tok'))
|
| 11 |
+
print('@@@@@@@@@@@@@@@@@@@@@@@@@@@@')
|
| 12 |
+
|
| 13 |
model = SetFitModel.from_pretrained("AISE-TUDelft/java-ownership-classifier",
|
| 14 |
device='cpu', #Use this if you don't have a GPU
|
| 15 |
use_auth_token=os.environ.get('sec_tok'))
|