Spaces:
Sleeping
Sleeping
Commit : 97
Browse files- g +9 -0
- gradio app.py +7 -0
g
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
#this is a shortcut for pushing alx project to github
|
3 |
+
loober=$(cat ~/counter.txt)
|
4 |
+
commit_message="Commit : $loober"
|
5 |
+
git add .
|
6 |
+
git commit -m "$commit_message"
|
7 |
+
git push
|
8 |
+
((loober++))
|
9 |
+
echo "$loober" > ~/counter.txt
|
gradio app.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def greet(name):
|
4 |
+
return "Hello " + name + "!!"
|
5 |
+
|
6 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
+
demo.launch()
|