Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| def dummy_translation(text): | |
| return "Sorry, the actual model can't run on CPU hardware. Please upgrade to GPU hardware and update the code!" | |
| iface = gr.Interface(fn=dummy_translation, inputs="text", outputs="text", | |
| title="Seed-X-Instruct-7B Demo", | |
| description="This would run the large model if GPU hardware is enabled.") | |
| iface.launch() |