Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -156,6 +156,7 @@ def extract_info(template, text):
|
|
| 156 |
trace = traceback.format_exc()
|
| 157 |
print(f"Error in extract_info: {e}\n{trace}")
|
| 158 |
return f"❌ Fehler: {str(e)}", "{}"
|
|
|
|
| 159 |
def create_map(df, location_col):
|
| 160 |
m = folium.Map(
|
| 161 |
location=[20, 0],
|
|
|
|
| 156 |
trace = traceback.format_exc()
|
| 157 |
print(f"Error in extract_info: {e}\n{trace}")
|
| 158 |
return f"❌ Fehler: {str(e)}", "{}"
|
| 159 |
+
@spaces.GPU
|
| 160 |
def create_map(df, location_col):
|
| 161 |
m = folium.Map(
|
| 162 |
location=[20, 0],
|