Spaces:
Sleeping
Sleeping
correct log path
Browse files
app.py
CHANGED
|
@@ -204,7 +204,7 @@ with gr.Blocks() as demo:
|
|
| 204 |
with gr.Row():
|
| 205 |
log_output = gr.Textbox(label="BoltzGen Log Output", lines=10)
|
| 206 |
run_button.click(
|
| 207 |
-
lambda: find_log_file("/tmp
|
| 208 |
inputs=[],
|
| 209 |
outputs=log_output
|
| 210 |
)
|
|
|
|
| 204 |
with gr.Row():
|
| 205 |
log_output = gr.Textbox(label="BoltzGen Log Output", lines=10)
|
| 206 |
run_button.click(
|
| 207 |
+
lambda: find_log_file("/tmp").read_text() if find_log_file("/tmp") else "No log file found.",
|
| 208 |
inputs=[],
|
| 209 |
outputs=log_output
|
| 210 |
)
|