Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|