Closed zhhphappy closed 1 month ago
When I use gr.render, gr.Video can not found video path.
from fastapi import FastAPI import gradio as gr import uvicorn app = FastAPI() test_video_path = '/workspace/video.mp4' with gr.Blocks() as demo: text = gr.Text() video1 = gr.Video(test_video_path) @gr.render(inputs=text) def show_video(data): video2 = gr.Video(test_video_path) app = gr.mount_gradio_app(app, demo, path="/test") uvicorn.run(app, port=8180)
No response
Python 3.10.14 gradio Version: 4.41.0
Blocking usage of gradio
I know what the issue is @zhhphappy !
Describe the bug
When I use gr.render, gr.Video can not found video path.
Have you searched existing issues? 🔎
Reproduction
Screenshot
No response
Logs
No response
System Info
Severity
Blocking usage of gradio