Spaces:
Running
on
Zero
Running
on
Zero
xinjie.wang
commited on
Commit
·
c64341f
1
Parent(s):
fe94868
Add application file
Browse files
app.py
CHANGED
@@ -12,6 +12,7 @@ def pinfo():
|
|
12 |
print(zero.device)
|
13 |
|
14 |
def my_function(input_text):
|
|
|
15 |
return f"Received: {input_text}"
|
16 |
|
17 |
iface = gr.Interface(fn=my_function, inputs="text", outputs="text")
|
|
|
12 |
print(zero.device)
|
13 |
|
14 |
def my_function(input_text):
|
15 |
+
pinfo()
|
16 |
return f"Received: {input_text}"
|
17 |
|
18 |
iface = gr.Interface(fn=my_function, inputs="text", outputs="text")
|