brewedAwake's picture
Created app.py
ee481a4 verified
raw
history blame contribute delete
405 Bytes
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()