Commit : 125
Browse files
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()
|
g
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
#this is a shortcut for pushing 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
|