Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,14 +1,20 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
|
|
|
|
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
-
iface = gr.Interface(fn=generate_prompt, inputs="text", outputs="text", title="💯 Einfach.Prompt Generator 💯 made with ",
|
11 |
-
description="Wunsch prompt eingeben z.b. Web Designer und einen prompt für Chat.GPT erstellen lassen",
|
12 |
-
theme="huggingface")
|
13 |
|
14 |
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
iface = gr.Interface(fn=deine_funktion, inputs=dein_input, outputs=dein_output)
|
5 |
+
iface.theme = './style.css'
|
6 |
+
iface.launch()
|
7 |
|
8 |
+
title = "Prompt Dich weiter mit Einfach.Prompt"
|
9 |
+
description = """
|
10 |
+
<p>
|
11 |
+
<center>
|
12 |
+
Big THX at Merve for this great and first Modell by Bart..
|
13 |
+
<img src="https://huggingface.co/spaces/EinfachAilex/einfach.prompt/blob/main/cover.png" alt="rick" width="250"/>
|
14 |
+
</center>
|
15 |
+
</p>
|
16 |
+
"""
|
17 |
+
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1907.06616' target='_blank'>Recipes for building an open-domain chatbot</a></p><p style='text-align: center'><a href='https://parl.ai/projects/recipes/' target='_blank'>Original PARLAI Code</a></p></center></p>"
|
18 |
|
|
|
|
|
|
|
19 |
|
20 |
iface.launch()
|