Chris4K commited on
Commit
8cd1deb
1 Parent(s): 1ec6ac8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -4,4 +4,11 @@ import gradio as gr
4
  title = "My first Demo with Hugging Face"
5
  description = "This is a demo as a example"
6
 
 
 
 
 
 
 
 
7
  gr.Interface.load("models/oliverguhr/german-sentiment-bert").launch()
 
4
  title = "My first Demo with Hugging Face"
5
  description = "This is a demo as a example"
6
 
7
+ gr.Interface.load(
8
+ "huggingface/microsoft/swin-tiny-patch4-window7-224",
9
+ inputs=gr.Image(label="Load an image here"),
10
+ title=title,
11
+ description=description
12
+ ).launch()
13
+
14
  gr.Interface.load("models/oliverguhr/german-sentiment-bert").launch()