Spaces:
Sleeping
Sleeping
File size: 458 Bytes
644c29a 33da86c 644c29a b32dfd6 33da86c 644c29a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
#from huggingface_hub import notebook_login
def greet(name):
return "Hello " + name + "!"
demo = gr.Interface(
fn=greet,
inputs=gr.Textbox(lines=2, placeholder="Name Here..."),
outputs="text",
)
demo.launch()
#python3 -c "from huggingface_hub.hf_api import HfFolder; HfFolder.save_token('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')"
#notebook_login()
gr.Interface.load("models/omarhkh/resnet-50-finetuned-omar").launch() |