Spaces:
Runtime error
Runtime error
import gradio as gr | |
def read_logs(): | |
with open("output.log", "r") as f: | |
return f.read() | |
with gr.Blocks() as demo: | |
logs = gr.Plot() | |
demo.load(read_logs, None, logs, every=1) | |
demo.queue().launch() | |