Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,16 +5,6 @@ from sentence_transformers import SentenceTransformer
|
|
| 5 |
import torch
|
| 6 |
import numpy as np
|
| 7 |
|
| 8 |
-
#theme
|
| 9 |
-
theme = gr.themes.Soft(
|
| 10 |
-
primary_hue="pink",
|
| 11 |
-
secondary_hue="lime",
|
| 12 |
-
neutral_hue="lime",
|
| 13 |
-
)
|
| 14 |
-
|
| 15 |
-
with gr.Blocks(theme=theme) as demo:
|
| 16 |
-
|
| 17 |
-
#user interface code ends
|
| 18 |
|
| 19 |
# Open the travel_info.txt file in read mode with UTF-8 encoding
|
| 20 |
with open("travel_info.txt", "r", encoding="utf-8") as file:
|
|
|
|
| 5 |
import torch
|
| 6 |
import numpy as np
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# Open the travel_info.txt file in read mode with UTF-8 encoding
|
| 10 |
with open("travel_info.txt", "r", encoding="utf-8") as file:
|