Spaces:
Sleeping
Sleeping
File size: 405 Bytes
ee481a4 |
1 2 3 4 5 6 7 8 9 10 |
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() |