Chris4K commited on
Commit
0991489
1 Parent(s): a733a2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -247,6 +247,13 @@ app = gr.Interface(
247
 
248
 
249
  #####
 
 
 
 
 
 
 
250
  tDeEn = pipeline(model="Helsinki-NLP/opus-mt-de-en")
251
  tEnDe = pipeline(model="Helsinki-NLP/opus-mt-en-de")
252
  bot = pipeline(model="google/flan-t5-large")
 
247
 
248
 
249
  #####
250
+ ######
251
+ ######
252
+ examples = [
253
+ ["Erzähl mit eine Geschichte!",50,2,3,1,"Deutsch"],
254
+ ["Welche Blumen sollte man jemandem zum Valentinstag schenken?",50,1,0,1,"Deutsch"],
255
+ ["Please write a step by step recipe to make bolognese pasta!",50,2,3,2,"Englisch"]
256
+ ]
257
  tDeEn = pipeline(model="Helsinki-NLP/opus-mt-de-en")
258
  tEnDe = pipeline(model="Helsinki-NLP/opus-mt-en-de")
259
  bot = pipeline(model="google/flan-t5-large")