ReallyFloppyPenguin commited on
Commit
5103a80
·
verified ·
1 Parent(s): 1967537

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from synthgen import generate_synthetic_text, api_key # Import from our modified synthgen
3
 
4
  # Check if the API key was loaded successfully (provides feedback in Gradio UI)
5
- api_key_loaded = bool(api_key)
6
 
7
  def run_generation(prompt: str, model: str, num_samples: int) -> str:
8
  """
 
2
  from synthgen import generate_synthetic_text, api_key # Import from our modified synthgen
3
 
4
  # Check if the API key was loaded successfully (provides feedback in Gradio UI)
5
+ api_key_loaded = True
6
 
7
  def run_generation(prompt: str, model: str, num_samples: int) -> str:
8
  """