airadio / app.py
trhacknon's picture
Duplicate from tomliu/airadio
0a95c93
raw
history blame contribute delete
238 Bytes
import gradio as gr
def echo(name, request: gr.Request):
print("Request headers dictionary:", request.headers)
print("IP address:", request.client.host)
return name+"!!!!"
io = gr.Interface(echo, "textbox", "textbox").launch()