ZeyuXie commited on
Commit
c4f9294
1 Parent(s): 29b6e53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -58,9 +58,9 @@ with gr.Blocks() as demo:
58
  with gr.Row():
59
  gr.Markdown("## Step1")
60
  with gr.Row():
61
- preprocess_description_text = f"preprocess: free-text to timestamp caption via LLM. "+\
62
  "This demo uses Gemini as the preprocessor. If any errors occur, please try a few more times. "+\
63
- "We also provide the GPT version consistent with the paper in the file 'File/llc_reprocessing.py'. You can use your own api_key to modify and run 'File/llc_reference. py' for local inference."
64
  gr.Markdown(preprocess_description_text)
65
  with gr.Row():
66
  with gr.Column():
@@ -85,6 +85,9 @@ with gr.Blocks() as demo:
85
 
86
  with gr.Row():
87
  gr.Markdown("## Step2")
 
 
 
88
  with gr.Row():
89
  with gr.Column():
90
  prompt = gr.Textbox(label="Prompt: Input your caption formatted as 'event1 at onset1-offset1_onset2-offset2 and event2 at onset1-offset1'.",
 
58
  with gr.Row():
59
  gr.Markdown("## Step1")
60
  with gr.Row():
61
+ preprocess_description_text = f"Preprocess: transfer free-text into timestamp caption via LLM. "+\
62
  "This demo uses Gemini as the preprocessor. If any errors occur, please try a few more times. "+\
63
+ "We also provide the GPT version consistent with the paper in the file 'Files/llm_reprocessing.py'. You can use your own api_key to modify and run 'Files/inference.py' for local inference."
64
  gr.Markdown(preprocess_description_text)
65
  with gr.Row():
66
  with gr.Column():
 
85
 
86
  with gr.Row():
87
  gr.Markdown("## Step2")
88
+ with gr.Row():
89
+ generate_description_text = f"Generate audio based on timestamp caption."
90
+ gr.Markdown(generate_description_text)
91
  with gr.Row():
92
  with gr.Column():
93
  prompt = gr.Textbox(label="Prompt: Input your caption formatted as 'event1 at onset1-offset1_onset2-offset2 and event2 at onset1-offset1'.",