VectorV17 commited on
Commit
6fb8070
·
verified ·
1 Parent(s): 558b8f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -105,7 +105,10 @@ with gr.Blocks() as demo:
105
  gr.Markdown(
106
  "**About This Agent:** This framework utilizes localized vector embeddings alongside "
107
  "few-shot prompting to anchor small model reasoning. It delivers deterministic, "
108
- "concise outputs optimized for zero-error execution on base CPU clusters."
 
 
 
109
  )
110
 
111
  # Status Module Panel
@@ -135,19 +138,17 @@ with gr.Blocks() as demo:
135
 
136
  # Robust Example System: Swapped to an immune dropdown component to bypass the hidden tab rendering bug
137
  debate_example_picker = gr.Dropdown(
138
- label="💡 Select a Preset Debate Topic Example",
139
  choices=[
140
  "LLMs are indispensable for application development.",
141
  "Electric vehicles are the only way to save the environment.",
142
  "Universal Basic Income will just make people lazy."
143
- ],
144
- value="I believe AI will eventually destroy all human jobs."
145
  )
146
 
147
  debate_text_input = gr.Textbox(
148
  label="Your Stance",
149
- value="I believe AI will eventually destroy all human jobs.",
150
- placeholder="Type your claim here..."
151
  )
152
 
153
  # Dynamically push selected dropdown choice into the text input instantly
@@ -161,7 +162,7 @@ with gr.Blocks() as demo:
161
 
162
  # Robust Example System: Swapped to an immune dropdown component to bypass the hidden tab rendering bug
163
  generalizer_example_picker = gr.Dropdown(
164
- label="💡 Select a Preset Complex News Example",
165
  choices=[
166
  "Despite aggressive macroeconomic headwinds and structural quantitative tightening by central banking systems, retail index trends demonstrated non-linear elasticity during fiscal evaluations.",
167
  "The ecosystem validation vectors indicate substantial degradation in sub-surface lithospheric layers owing to chemical manufacturing runoffs, sparking compliance friction."
@@ -179,7 +180,7 @@ with gr.Blocks() as demo:
179
  # Dynamically push selected dropdown choice into the text input instantly
180
  generalizer_example_picker.change(fn=lambda x: x, inputs=generalizer_example_picker, outputs=simplify_text_input)
181
 
182
- run_simplifier_action = gr.Button("Generalize for Easy Understanding", variant="primary")
183
 
184
  gr.HTML("<div style='margin-bottom: 20px;'></div>")
185
 
 
105
  gr.Markdown(
106
  "**About This Agent:** This framework utilizes localized vector embeddings alongside "
107
  "few-shot prompting to anchor small model reasoning. It delivers deterministic, "
108
+ "concise outputs optimized for zero-error execution on base CPU clusters. "
109
+ "This framework processes user statements and news artifacts to provide dual NLP functions: "
110
+ "*Adversarial Debate Environment* using real-time vectorized context verification to engage with users "
111
+ "and *Automated Generalization Engine* for complex-news summarization and analysis."
112
  )
113
 
114
  # Status Module Panel
 
138
 
139
  # Robust Example System: Swapped to an immune dropdown component to bypass the hidden tab rendering bug
140
  debate_example_picker = gr.Dropdown(
141
+ label="💡 Suggestions for Preset Debate Topic",
142
  choices=[
143
  "LLMs are indispensable for application development.",
144
  "Electric vehicles are the only way to save the environment.",
145
  "Universal Basic Income will just make people lazy."
146
+ ]
 
147
  )
148
 
149
  debate_text_input = gr.Textbox(
150
  label="Your Stance",
151
+ placeholder="Select or paste your claim here..."
 
152
  )
153
 
154
  # Dynamically push selected dropdown choice into the text input instantly
 
162
 
163
  # Robust Example System: Swapped to an immune dropdown component to bypass the hidden tab rendering bug
164
  generalizer_example_picker = gr.Dropdown(
165
+ label="💡 Examples for Preset Complex News",
166
  choices=[
167
  "Despite aggressive macroeconomic headwinds and structural quantitative tightening by central banking systems, retail index trends demonstrated non-linear elasticity during fiscal evaluations.",
168
  "The ecosystem validation vectors indicate substantial degradation in sub-surface lithospheric layers owing to chemical manufacturing runoffs, sparking compliance friction."
 
180
  # Dynamically push selected dropdown choice into the text input instantly
181
  generalizer_example_picker.change(fn=lambda x: x, inputs=generalizer_example_picker, outputs=simplify_text_input)
182
 
183
+ run_simplifier_action = gr.Button("Deploy for generalization system", variant="primary")
184
 
185
  gr.HTML("<div style='margin-bottom: 20px;'></div>")
186