amaresh8053 commited on
Commit
882705a
·
1 Parent(s): 2e7132d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -12
app.py CHANGED
@@ -280,18 +280,7 @@ def generate_reply_attn(user_text: str) -> str:
280
  return "Reply from ATTENTION model (replace with real function)"
281
 
282
 
283
- # ---------- Gradio UI ----------
284
- def generate_reply_no_attn(text: str) -> str:
285
- if not text or not text.strip():
286
- return "Please type a question."
287
- # Replace with real inference
288
- return "NO-ATTN: " + text
289
-
290
- def generate_reply_attn(text: str) -> str:
291
- if not text or not text.strip():
292
- return "Please type a question."
293
- # Replace with real inference
294
- return "ATTN: " + text
295
 
296
  # ---------- Predefined prompts ----------
297
  PREDEFINED = [
 
280
  return "Reply from ATTENTION model (replace with real function)"
281
 
282
 
283
+ # ---------- Gradio UI --------------------------------
 
 
 
 
 
 
 
 
 
 
 
284
 
285
  # ---------- Predefined prompts ----------
286
  PREDEFINED = [