Spaces:
Sleeping
Sleeping
httpdaniel
commited on
Commit
·
b17afa3
1
Parent(s):
7248ff8
Adding initial project
Browse files- .gitignore +2 -0
- README.md +3 -3
- app.py +7 -0
.gitignore
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
flagged
|
2 |
+
__pycache__
|
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
colorTo: red
|
6 |
sdk: gradio
|
7 |
sdk_version: 4.42.0
|
|
|
1 |
---
|
2 |
+
title: PDF Summariser
|
3 |
+
emoji: 💬
|
4 |
+
colorFrom: yellow
|
5 |
colorTo: red
|
6 |
sdk: gradio
|
7 |
sdk_version: 4.42.0
|
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()
|