Spaces:
Runtime error
Runtime error
ShaoTengLiu
commited on
Commit
•
2b4b74e
1
Parent(s):
31d409f
debug
Browse files
app.py
CHANGED
@@ -59,8 +59,8 @@ pipe = InferencePipeline(HF_TOKEN)
|
|
59 |
trainer = Trainer(HF_TOKEN)
|
60 |
|
61 |
with gr.Blocks(css='style.css') as demo:
|
62 |
-
if SPACE_ID == ORIGINAL_SPACE_ID:
|
63 |
-
|
64 |
elif not torch.cuda.is_available():
|
65 |
show_warning(CUDA_NOT_AVAILABLE_WARNING)
|
66 |
elif (not 'T4' in GPU_DATA):
|
|
|
59 |
trainer = Trainer(HF_TOKEN)
|
60 |
|
61 |
with gr.Blocks(css='style.css') as demo:
|
62 |
+
# if SPACE_ID == ORIGINAL_SPACE_ID:
|
63 |
+
# show_warning(SHARED_UI_WARNING)
|
64 |
elif not torch.cuda.is_available():
|
65 |
show_warning(CUDA_NOT_AVAILABLE_WARNING)
|
66 |
elif (not 'T4' in GPU_DATA):
|