omarhkh's picture
Update app.py
b32dfd6
raw
history blame
458 Bytes
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()