Spaces:
Runtime error
Runtime error
File size: 485 Bytes
9f644a9 |
1 2 3 4 5 6 7 8 9 10 11 |
import gradio as gr
import os
HF_token = os.environ.get('HF_token')
# from gradio_client import Client
# client = Client('khw/fly', hf_token=HF_token)
# #client = Client.duplicate(from_id = 'khw/fly', hf_token=HF_token)
# client.predict("Inspiration images", "rubber rain boot, slip on", "shoes", 7.5, 50, 512, 512, 3662441489,
# "caterpillar_boot.jpg", 0.3, "", fn_index=1)
iface = gr.load('hamza50/gradio_02092023', src='spaces', api_key=HF_token )
iface.launch()
|