IPF commited on
Commit
54a9cc4
·
verified ·
1 Parent(s): 730f587

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,7 +24,7 @@ from transformers import AutoTokenizer
24
  # Configuration
25
  # ============================================================
26
  MODEL_NAME = os.getenv("MODEL_NAME", "OpenResearcher/Nemotron-3-Nano-30B-A3B")
27
- REMOTE_API_BASE = "https://scrappier-sallie-untarred.ngrok-free.dev/v1"
28
  SERPER_API_KEY = os.getenv("SERPER_API_KEY", "")
29
  MAX_NEW_TOKENS = int(os.getenv("MAX_NEW_TOKENS", "4096")) # Safe limit for ZeroGPU
30
 
@@ -2395,7 +2395,7 @@ def create_interface():
2395
  ''')
2396
  serper_input = gr.Textbox(
2397
  label="",
2398
- value="ae6413538b4b7c4e7ae5a4cdaa1ce549e74ba8ce",
2399
  type="password",
2400
  placeholder="Enter your Serper API key...",
2401
  show_label=False,
 
24
  # Configuration
25
  # ============================================================
26
  MODEL_NAME = os.getenv("MODEL_NAME", "OpenResearcher/Nemotron-3-Nano-30B-A3B")
27
+ REMOTE_API_BASE = os.getenv("REMOTE_API_BASE", "")
28
  SERPER_API_KEY = os.getenv("SERPER_API_KEY", "")
29
  MAX_NEW_TOKENS = int(os.getenv("MAX_NEW_TOKENS", "4096")) # Safe limit for ZeroGPU
30
 
 
2395
  ''')
2396
  serper_input = gr.Textbox(
2397
  label="",
2398
+ value=SERPER_API_KEY,
2399
  type="password",
2400
  placeholder="Enter your Serper API key...",
2401
  show_label=False,