Spaces:
Sleeping
Sleeping
add: announcement update
Browse files
app.py
CHANGED
|
@@ -287,7 +287,8 @@ with gr.Blocks() as demo:
|
|
| 287 |
|
| 288 |
### 馃摙 绯荤当鍏憡
|
| 289 |
""")
|
| 290 |
-
gr.Markdown(
|
|
|
|
| 291 |
|
| 292 |
file_input = gr.File(label="涓婂偝 Evaluation_Dataset.csv")
|
| 293 |
api_key_input = gr.Textbox(label="OpenAI API Key", type="password")
|
|
|
|
| 287 |
|
| 288 |
### 馃摙 绯荤当鍏憡
|
| 289 |
""")
|
| 290 |
+
announcement_display = gr.Markdown()
|
| 291 |
+
demo.load(fn=fetch_announcement_from_sheet, inputs=[], outputs=announcement_display)
|
| 292 |
|
| 293 |
file_input = gr.File(label="涓婂偝 Evaluation_Dataset.csv")
|
| 294 |
api_key_input = gr.Textbox(label="OpenAI API Key", type="password")
|