Upload folder using huggingface_hub
Browse files
gradio_demo_python_api.py
CHANGED
|
@@ -82,7 +82,7 @@ def respond(prompt, video, image, is_image, video_segments, image_segments_cols
|
|
| 82 |
|
| 83 |
def chat_interface():
|
| 84 |
with gr.Blocks() as demo:
|
| 85 |
-
gr.Markdown("##
|
| 86 |
with gr.Row():
|
| 87 |
with gr.Column(scale=1):
|
| 88 |
video = gr.Video(label="Upload Video", format="mp4")
|
|
@@ -126,4 +126,4 @@ def chat_interface():
|
|
| 126 |
demo.launch(server_name=local_ip, server_port=server_port)
|
| 127 |
|
| 128 |
if __name__ == "__main__":
|
| 129 |
-
chat_interface()
|
|
|
|
| 82 |
|
| 83 |
def chat_interface():
|
| 84 |
with gr.Blocks() as demo:
|
| 85 |
+
gr.Markdown("## InternVL3 Chat DEMO \nUpload an image or video and chat with the InternVL3.")
|
| 86 |
with gr.Row():
|
| 87 |
with gr.Column(scale=1):
|
| 88 |
video = gr.Video(label="Upload Video", format="mp4")
|
|
|
|
| 126 |
demo.launch(server_name=local_ip, server_port=server_port)
|
| 127 |
|
| 128 |
if __name__ == "__main__":
|
| 129 |
+
chat_interface()
|