Spaces:
Build error
Build error
Commit
·
0f5a4cb
1
Parent(s):
e60490c
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import subprocess
|
| 2 |
import gradio as gr
|
| 3 |
#import bot
|
| 4 |
-
def ru():
|
|
|
|
| 5 |
return subprocess.run("python3 -m bot",shell=True)
|
| 6 |
gr.Interface(fn=ru,inputs="text",outputs="text",live=True).launch(debug=True)
|
|
|
|
| 1 |
import subprocess
|
| 2 |
import gradio as gr
|
| 3 |
#import bot
|
| 4 |
+
def ru(hi):
|
| 5 |
+
x = hi + " hii!"
|
| 6 |
return subprocess.run("python3 -m bot",shell=True)
|
| 7 |
gr.Interface(fn=ru,inputs="text",outputs="text",live=True).launch(debug=True)
|