Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,10 @@ font_manager.fontManager.addfont(font_path)
|
|
| 14 |
# Set the font as the default
|
| 15 |
plt.rcParams['font.family'] = font_manager.FontProperties(fname=font_path).get_name()
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
| 18 |
|
| 19 |
# Initialize paths and model identifiers for easy configuration and maintenance
|
|
|
|
| 14 |
# Set the font as the default
|
| 15 |
plt.rcParams['font.family'] = font_manager.FontProperties(fname=font_path).get_name()
|
| 16 |
|
| 17 |
+
# Create a plot to test
|
| 18 |
+
plt.text(0.5, 0.5, 'Hello, World!', fontsize=40, ha='center')
|
| 19 |
+
plt.show()
|
| 20 |
+
|
| 21 |
os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
| 22 |
|
| 23 |
# Initialize paths and model identifiers for easy configuration and maintenance
|