Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
import random as rd
|
3 |
-
|
|
|
|
|
|
|
4 |
def guess(num):
|
5 |
num = int(num)
|
6 |
if num == rand[0]:
|
|
|
1 |
import gradio as gr
|
2 |
import random as rd
|
3 |
+
|
4 |
+
rand = []
|
5 |
+
rand . append(rd.randint(0,9))
|
6 |
+
|
7 |
def guess(num):
|
8 |
num = int(num)
|
9 |
if num == rand[0]:
|