Spaces:
Runtime error
Runtime error
Commit
·
4db9d74
1
Parent(s):
c5bd7fc
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ Vielen Dank an Merve für dieses tolle und erste Modell von Bart.
|
|
| 10 |
</center>
|
| 11 |
</p>
|
| 12 |
"""
|
|
|
|
| 13 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1907.06616' target='_blank'>Rezepte zum Erstellen eines Open-Domain-Chatbots</a> </p><p style='text-align: center'><a href='https://parl.ai/projects/recipes/' target='_blank'>Original PARLAI-Code</a></p></center></p>"
|
| 14 |
|
| 15 |
generator = pipeline("text2text-generation", model="merve/chatgpt-prompts-bart-long")
|
|
@@ -22,9 +23,11 @@ interface = gr.Interface(
|
|
| 22 |
fn=generate_prompt,
|
| 23 |
inputs="text",
|
| 24 |
outputs="text",
|
| 25 |
-
title=
|
| 26 |
-
description=
|
|
|
|
| 27 |
css='style.css' # Hier wird die style.css eingebunden
|
| 28 |
)
|
| 29 |
|
| 30 |
interface.launch()
|
|
|
|
|
|
| 10 |
</center>
|
| 11 |
</p>
|
| 12 |
"""
|
| 13 |
+
|
| 14 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1907.06616' target='_blank'>Rezepte zum Erstellen eines Open-Domain-Chatbots</a> </p><p style='text-align: center'><a href='https://parl.ai/projects/recipes/' target='_blank'>Original PARLAI-Code</a></p></center></p>"
|
| 15 |
|
| 16 |
generator = pipeline("text2text-generation", model="merve/chatgpt-prompts-bart-long")
|
|
|
|
| 23 |
fn=generate_prompt,
|
| 24 |
inputs="text",
|
| 25 |
outputs="text",
|
| 26 |
+
title=title,
|
| 27 |
+
description=description,
|
| 28 |
+
theme='NoCrypt/miku',
|
| 29 |
css='style.css' # Hier wird die style.css eingebunden
|
| 30 |
)
|
| 31 |
|
| 32 |
interface.launch()
|
| 33 |
+
|