Spaces:
Sleeping
Sleeping
omerXfaruq
commited on
Commit
•
3c61207
1
Parent(s):
cc4c776
- basic example with beta release
Browse files- app.py +10 -0
- requirements.txt +1 -0
app.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
import time
|
3 |
+
|
4 |
+
|
5 |
+
def waiter(*args):
|
6 |
+
time.sleep(10)
|
7 |
+
return "Hello after 10 sec"
|
8 |
+
|
9 |
+
|
10 |
+
gr.Interface(waiter, "text", "text").launch(enable_queue=True)
|
requirements.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
gradio==3.1.4b1
|