portalniy-dev commited on
Commit
b3b478e
Β·
verified Β·
1 Parent(s): 8d55ba9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ dataset_names = {
9
  'ag_news': None,
10
  'squad': None,
11
  'cnn_dailymail': '1.0.0', # Specify configuration for cnn_dailymail
12
- 'wiki40b': None
13
  }
14
 
15
  # Global variables for model and tokenizer
@@ -111,4 +111,4 @@ with gr.Blocks() as demo:
111
  generate_button.click(generate_text, inputs=prompt_input, outputs=generated_output)
112
 
113
  # Launch the app with share=True to create a public link
114
- demo.launch(share=True)
 
9
  'ag_news': None,
10
  'squad': None,
11
  'cnn_dailymail': '1.0.0', # Specify configuration for cnn_dailymail
12
+ 'wiki40b': 'en' # Specify language for wiki40b
13
  }
14
 
15
  # Global variables for model and tokenizer
 
111
  generate_button.click(generate_text, inputs=prompt_input, outputs=generated_output)
112
 
113
  # Launch the app with share=True to create a public link
114
+ demo.launch(share=True)