Spaces:
Runtime error
Runtime error
portalniy-dev
commited on
Update app.py
Browse files
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':
|
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)
|