Spaces:
Runtime error
Runtime error
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() | |