Spaces:
Sleeping
Sleeping
tweak
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def run(check: bool) -> str:
|
|
| 34 |
comment = (
|
| 35 |
datetime.datetime.now().replace(microsecond=0).isoformat().replace("T", " ")
|
| 36 |
)
|
| 37 |
-
return f"# {comment}\n\nThis is running on CPU\n\nClick on 'Run on GPU' to move to GPU instantly"
|
| 38 |
|
| 39 |
output = gr.Textbox(
|
| 40 |
label="Command Output", max_lines=32, elem_id="output_box", value=run(False)
|
|
|
|
| 34 |
comment = (
|
| 35 |
datetime.datetime.now().replace(microsecond=0).isoformat().replace("T", " ")
|
| 36 |
)
|
| 37 |
+
return f"# {comment}\n\nThis is running on CPU\n\nClick on 'Run on GPU' below to move to GPU instantly and run nvidia-smi"
|
| 38 |
|
| 39 |
output = gr.Textbox(
|
| 40 |
label="Command Output", max_lines=32, elem_id="output_box", value=run(False)
|