Spaces:
Runtime error
Runtime error
linjieccc
commited on
Commit
•
d5e3066
1
Parent(s):
c757801
Update app.py
Browse files
app.py
CHANGED
@@ -223,7 +223,7 @@ def process_upload(file):
|
|
223 |
|
224 |
def process_prompt(prompt, document, lang="ch"):
|
225 |
if not prompt:
|
226 |
-
prompt = "
|
227 |
if document is None:
|
228 |
return None, None, None
|
229 |
|
@@ -399,7 +399,7 @@ with gr.Blocks(css=CSS) as demo:
|
|
399 |
gr.Markdown("## 2. Make a request")
|
400 |
prompt = gr.Textbox(
|
401 |
label="Prompt",
|
402 |
-
placeholder="
|
403 |
lines=1,
|
404 |
max_lines=1,
|
405 |
)
|
|
|
223 |
|
224 |
def process_prompt(prompt, document, lang="ch"):
|
225 |
if not prompt:
|
226 |
+
prompt = "What is the total actual and/or obligated expenses of ECG Center?"
|
227 |
if document is None:
|
228 |
return None, None, None
|
229 |
|
|
|
399 |
gr.Markdown("## 2. Make a request")
|
400 |
prompt = gr.Textbox(
|
401 |
label="Prompt",
|
402 |
+
placeholder="What is the total actual and/or obligated expenses of ECG Center?",
|
403 |
lines=1,
|
404 |
max_lines=1,
|
405 |
)
|