Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
amielle
/
patent-summarizer
like
3
Runtime error
App
Files
Files
Community
amielle
commited on
Mar 21, 2022
Commit
dee848c
•
1 Parent(s):
cd269b1
feat: Add initial trial functionality
Browse files
Files changed (1)
hide
show
app.py
+7
-0
app.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
import gradio as gr
2
+
3
+
def parse_patent_source(user_input):
4
+
return "Hello " + user_input + "!!"
5
+
6
+
iface = gr.Interface(fn=parse_patent_source, inputs="text", outputs="text")
7
+
iface.launch()