John6666's picture
Update app.py
e043f9b verified
raw
history blame contribute delete
399 Bytes
import gradio as gr
import huggingface_hub
print("gradio version:", gr.__version__)
print("huggingface_hub version:", huggingface_hub.__version__)
def test():
return str(gr.__version__)
with gr.Blocks() as demo:
run_button = gr.Button("Run", variant="primary")
info = gr.Textbox(label="Output", value="", show_copy_button=True)
run_button.click(test, None, [info])
demo.launch()