Spaces:
Sleeping
Sleeping
Francesco Capuano
commited on
Commit
·
2dd2156
1
Parent(s):
ef0674c
fix: minor
Browse files
app.py
CHANGED
@@ -4,9 +4,9 @@ from mistralai import Mistral
|
|
4 |
from PIL import Image
|
5 |
import io
|
6 |
from dotenv import load_dotenv
|
7 |
-
# Convert to base64 string
|
8 |
import base64
|
9 |
|
|
|
10 |
load_dotenv()
|
11 |
|
12 |
# Initialize Mistral client
|
@@ -107,4 +107,4 @@ with gr.Blocks(title="TexStral: Turn handwriting into LaTeX ✨") as demo:
|
|
107 |
|
108 |
# Launch the app
|
109 |
if __name__ == "__main__":
|
110 |
-
demo.launch()
|
|
|
4 |
from PIL import Image
|
5 |
import io
|
6 |
from dotenv import load_dotenv
|
|
|
7 |
import base64
|
8 |
|
9 |
+
|
10 |
load_dotenv()
|
11 |
|
12 |
# Initialize Mistral client
|
|
|
107 |
|
108 |
# Launch the app
|
109 |
if __name__ == "__main__":
|
110 |
+
demo.launch()
|