Skip to content

Commit

Permalink
Merge pull request #22 from andreped/huggingface
Browse files Browse the repository at this point in the history
Added test demo app for HuggingFace space [no ci]
  • Loading branch information
andreped authored May 23, 2023
2 parents a4644da + dccef32 commit 2fd748f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: 'livermask: Automatic Liver Parenchyma and vessel segmentation in CT'
colorFrom: indigo
sdk: gradio
sdk_version: 3.0.15
emoji: 🚀
pinned: false
license: MIT
app_file: demo/app.py
---
<div align="center">
<h1 align="center">livermask</h1>
<h3 align="center">Automatic liver parenchyma and vessel segmentation in CT using deep learning</h3>
Expand Down
7 changes: 7 additions & 0 deletions demo/app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import gradio as gr

def greet(name):
return "Hello" + name + "!!"

iface = gr.Interface(fn=greet, inputs="text", output="text")
iface.launch()

0 comments on commit 2fd748f

Please sign in to comment.