Update app.py
Browse files
app.py
CHANGED
|
@@ -29,8 +29,8 @@ import sr100_model_compiler
|
|
| 29 |
|
| 30 |
def compile_model(model_name, vmem_value, lpmem_value):
|
| 31 |
|
| 32 |
-
if oauth_info['token'] is None:
|
| 33 |
-
|
| 34 |
|
| 35 |
# Create a temporary directory
|
| 36 |
with tempfile.TemporaryDirectory() as out_dir:
|
|
|
|
| 29 |
|
| 30 |
def compile_model(model_name, vmem_value, lpmem_value):
|
| 31 |
|
| 32 |
+
#if oauth_info['token'] is None:
|
| 33 |
+
# return "ERROR - please log into HuggingFace to continue"
|
| 34 |
|
| 35 |
# Create a temporary directory
|
| 36 |
with tempfile.TemporaryDirectory() as out_dir:
|