eneSadi commited on
Commit
dda8d50
·
unverified ·
1 Parent(s): 868083b

global variables

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -28,6 +28,9 @@ load_model()
28
 
29
  @spaces.GPU
30
  def ask(prompt):
 
 
 
31
  if not prompt:
32
  return {"error": "Prompt is missing"}
33
 
 
28
 
29
  @spaces.GPU
30
  def ask(prompt):
31
+
32
+ global tokenizer, model
33
+
34
  if not prompt:
35
  return {"error": "Prompt is missing"}
36