Spaces:
Sleeping
Sleeping
Create app.py
Browse files
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()
|