mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-12 10:34:32 +08:00
rm test.py
This commit is contained in:
parent
1ae1a90fac
commit
ff1940c8d5
19
test.py
19
test.py
@ -1,19 +0,0 @@
|
||||
# encoding: utf8
|
||||
|
||||
"""
|
||||
Created on 2019.07.14
|
||||
|
||||
@author: yalei
|
||||
"""
|
||||
|
||||
|
||||
import gradio
|
||||
|
||||
# A very simplistic function that capitalizes each letter in the given string
|
||||
def big(x):
|
||||
return x.upper()
|
||||
|
||||
io = gradio.Interface(inputs="textbox", outputs="textbox",
|
||||
model=big, model_type='pyfunc')
|
||||
# io.launch(inline=False, inbrowser=True, share=True)
|
||||
io.launch()
|
Loading…
Reference in New Issue
Block a user