OnlyCheeini's picture
Update app.py
69b7b38 verified
raw
history blame contribute delete
161 Bytes
import gradio as gr
def greet(name, req: gr.Request):
return f"{req.headers=}"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()