Zul001 commited on
Commit
e36fac3
·
verified ·
1 Parent(s): ce22b47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ model_path = "Zul001/HydroSense_Gemma_Finetuned_Model"
10
  gemma_lm = keras_nlp.models.GemmaCausalLM.from_preset(f"hf://{model_path}")
11
 
12
 
13
- reset_triggered = False
14
 
15
  custom_css = """
16
  @import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Dots:[email protected]&family=Give+You+Glory&family=Sofia&family=Sunshiney&family=Vujahday+Script&display=swap');
@@ -112,7 +112,7 @@ def clear_sessions():
112
 
113
  def clear_fields():
114
  global reset_triggered
115
- reset_triggered = True
116
  return "", "" # Return empty strings to clear the prompt and output fields
117
 
118
 
 
10
  gemma_lm = keras_nlp.models.GemmaCausalLM.from_preset(f"hf://{model_path}")
11
 
12
 
13
+ # reset_triggered = False
14
 
15
  custom_css = """
16
  @import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Dots:[email protected]&family=Give+You+Glory&family=Sofia&family=Sunshiney&family=Vujahday+Script&display=swap');
 
112
 
113
  def clear_fields():
114
  global reset_triggered
115
+ # reset_triggered = True
116
  return "", "" # Return empty strings to clear the prompt and output fields
117
 
118