Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,10 +9,9 @@ client = OpenAI(
|
|
9 |
myTitle = "✏️ Schreif mer e Gedicht ! 🇱🇺"
|
10 |
myDescription = "A"
|
11 |
myArticle = "B"
|
12 |
-
prompt_start = "Schreif mer e Gedicht op Lëtzebuergesch iwwert "
|
13 |
myExamples = [
|
14 |
-
"
|
15 |
-
"
|
16 |
]
|
17 |
|
18 |
INSTRUCTIONS = """You are a writer creating poems in Luxembourgish.
|
@@ -43,7 +42,7 @@ def schreiw_gedicht(prompt):
|
|
43 |
except Exception as e:
|
44 |
return f"Error: {str(e)}"
|
45 |
|
46 |
-
myInput = gr.Textbox(label='
|
47 |
myOutput = gr.Textbox(label='Gedicht')
|
48 |
|
49 |
demo = gr.Interface(
|
|
|
9 |
myTitle = "✏️ Schreif mer e Gedicht ! 🇱🇺"
|
10 |
myDescription = "A"
|
11 |
myArticle = "B"
|
|
|
12 |
myExamples = [
|
13 |
+
"Eng Blumm där hire gréisste Wonsch ass ze fléien, lëschteg, optimistesch",
|
14 |
+
"Zwee kleng Huesen déi Angscht vun der Däischtert hunn, spannend, realistesch "
|
15 |
]
|
16 |
|
17 |
INSTRUCTIONS = """You are a writer creating poems in Luxembourgish.
|
|
|
42 |
except Exception as e:
|
43 |
return f"Error: {str(e)}"
|
44 |
|
45 |
+
myInput = gr.Textbox(label='Geschicht, Idee, Gefill', value='En Toaster deen sech an en Hond verléift huet, skurril, traureg')
|
46 |
myOutput = gr.Textbox(label='Gedicht')
|
47 |
|
48 |
demo = gr.Interface(
|