DummySpace / app.py
HuseynG's picture
Update app.py
e6d0083
raw
history blame contribute delete
356 Bytes
import gradio as gr
import time
import random
import threading
from utils import schedule_function
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
if __name__ == '__main__':
scheduler_thread = threading.Thread(target=schedule_function)
scheduler_thread.start()
iface.launch()