Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,8 +84,6 @@ def load_model():
|
|
| 84 |
}
|
| 85 |
}
|
| 86 |
|
| 87 |
-
# Update status to show we're starting
|
| 88 |
-
gr.Info("Modell wird geladen... Dies kann einen Moment dauern.")
|
| 89 |
|
| 90 |
# Make the actual request
|
| 91 |
response = requests.post(API_URL, headers=headers, json=payload)
|
|
@@ -513,7 +511,7 @@ Die Katastrophe in <span style="background-color: #a8e6cf; font-weight: bold; pa
|
|
| 513 |
with gr.Column():
|
| 514 |
template = gr.Textbox(
|
| 515 |
label="JSON Template",
|
| 516 |
-
value='{"earthquake location": "", "dateline location": "", "source": "",
|
| 517 |
lines=5
|
| 518 |
)
|
| 519 |
text = gr.Textbox(
|
|
@@ -549,7 +547,7 @@ Die Katastrophe in <span style="background-color: #a8e6cf; font-weight: bold; pa
|
|
| 549 |
elem_classes="file-upload-box"
|
| 550 |
)
|
| 551 |
places_column = gr.Textbox(
|
| 552 |
-
label="Name der Tabellenspalte
|
| 553 |
value="earthquake_location",
|
| 554 |
placeholder="Füge den Namen der Spalte mit den Orten ein"
|
| 555 |
)
|
|
|
|
| 84 |
}
|
| 85 |
}
|
| 86 |
|
|
|
|
|
|
|
| 87 |
|
| 88 |
# Make the actual request
|
| 89 |
response = requests.post(API_URL, headers=headers, json=payload)
|
|
|
|
| 511 |
with gr.Column():
|
| 512 |
template = gr.Textbox(
|
| 513 |
label="JSON Template",
|
| 514 |
+
value='{"earthquake location": "", "dateline location": "", "source": "", "communication form": ""}',
|
| 515 |
lines=5
|
| 516 |
)
|
| 517 |
text = gr.Textbox(
|
|
|
|
| 547 |
elem_classes="file-upload-box"
|
| 548 |
)
|
| 549 |
places_column = gr.Textbox(
|
| 550 |
+
label="Name der Tabellenspalte",
|
| 551 |
value="earthquake_location",
|
| 552 |
placeholder="Füge den Namen der Spalte mit den Orten ein"
|
| 553 |
)
|