Spaces:
Running on CPU Upgrade

anychat / app_sailor.py
akhaliq's picture
akhaliq HF staff
update to use load
166d5a5
raw
history blame
194 Bytes
import gradio as gr
import spaces
demo = gr.load(name="sail/Sailor2-20B-Chat", src="spaces")
for fn in demo.fns.values():
fn.api_name = False
if __name__ == "__main__":
demo.launch()