Spaces:
Runtime error
Runtime error
File size: 321 Bytes
b291f6a 7b2c66b b291f6a 7b2c66b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import os
os.system("mim install 'mmengine>=0.7.0'")
os.system("mim install mmcv")
os.system("mim install 'mmdet>=3.0.0'")
os.system("pip install -e .")
from yolo_world import version
import gradio as gr
def greet(name):
return version
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch() |