JustKiddo commited on
Commit
caae3e0
·
verified ·
1 Parent(s): 69715bc

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from huggingface_hub import InferenceClient
3
+
4
+ client = InferenceClient("models/microsoft/trocr-base-handwritten")
5
+
6
+ demo = gr.Interface(sepia, gr.Image(), "image")
7
+
8
+ if __name__ == "__main__":
9
+ demo.launch()